mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Reject certs and CRLs from the future
This commit is contained in:
@ -78,6 +78,8 @@
|
||||
#define BADCERT_MISSING 0x40 /**< Certificate was missing. */
|
||||
#define BADCERT_SKIP_VERIFY 0x80 /**< Certificate verification was skipped. */
|
||||
#define BADCERT_OTHER 0x0100 /**< Other reason (can be used by verify callback) */
|
||||
#define BADCERT_FUTURE 0x0200 /**< The certificate validity starts in the future. */
|
||||
#define BADCRL_FUTURE 0x0400 /**< The CRL is from the future */
|
||||
/* \} name */
|
||||
/* \} addtogroup x509_module */
|
||||
|
||||
|
Reference in New Issue
Block a user