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:
3:b777bfcb1381
Parent:
2:dc991c4ab35e
Parent:
1:561bad221c72
--- a/ctaocrypt/src/asn.c	Mon Feb 09 22:41:21 2015 +0000
+++ b/ctaocrypt/src/asn.c	Mon Feb 09 22:51:58 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;
 }