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:
1:561bad221c72
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 02 15:11:07 2015 +0000
@@ -2374,11 +2374,19 @@
 
     if (dateType == BEFORE) {
         if (DateLessThan(localTime, &certTime))
+        #ifndef NO_TIME_VERIFY
             return 0;
+        #else
+        	return 1;
+        #endif
     }
     else
         if (DateGreaterThan(localTime, &certTime))
+        #ifndef NO_TIME_VERIFY
             return 0;
+        #else
+        	return 1;
+        #endif
 
     return 1;
 }