A library for setting up Secure Socket Layer (SSL) connections and verifying remote hosts using certificates. Contains only the source files for mbed platform implementation of the library.

Dependents:   HTTPClient-SSL HTTPClient-SSL HTTPClient-SSL HTTPClient-SSL

Revision:
2:dc991c4ab35e
Parent:
0:b86d15c6ba29
Child:
3:b777bfcb1381
--- a/ctaocrypt/src/asn.c	Mon Jan 19 21:45:42 2015 +0000
+++ b/ctaocrypt/src/asn.c	Mon Feb 09 22:41:21 2015 +0000
@@ -2419,9 +2419,17 @@
 
     if (!XVALIDATE_DATE(date, b, dateType)) {
         if (dateType == BEFORE)
+        #ifdef NO_TIME_VERIFY
+        	return 0;
+        #else
             return ASN_BEFORE_DATE_E;
+        #endif
         else
+        #ifdef NO_TIME_VERIFY
+        	return 0;
+        #else
             return ASN_AFTER_DATE_E;
+        #endif
     }
 
     return 0;