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, committed 2015-02-09
- Comitter:
- Vanger
- Date:
- Mon Feb 09 22:41:21 2015 +0000
- Parent:
- 0:b86d15c6ba29
- Child:
- 3:b777bfcb1381
- Commit message:
- Added define flags to remove date verification of certificates
Changed in this revision
ctaocrypt/src/asn.c | Show annotated file Show diff for this revision Revisions of this file |
cyassl/ctaocrypt/settings.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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;
--- a/cyassl/ctaocrypt/settings.h Mon Jan 19 21:45:42 2015 +0000 +++ b/cyassl/ctaocrypt/settings.h Mon Feb 09 22:41:21 2015 +0000 @@ -199,7 +199,7 @@ #define DEBUG_CYASSL #define SIZE_OF_LONG_LONG 8 #define MAX_CHAIN_DEPTH 15 - + #define NO_TIME_VERIFY #define CYASSL_USER_IO #define NO_FILESYSTEM #define NO_CERT