mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Reject certs and CRLs from the future
This commit is contained in:
parent
6304f786e0
commit
9533765b25
5 changed files with 56 additions and 6 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue