Remove 'CRT fallback' during X.509 CRT verification if !TIME_DATE

This commit is contained in:
Hanno Becker 2019-06-10 11:12:33 +01:00
parent c00cceaa3f
commit 6f61b7bb5c
2 changed files with 26 additions and 2 deletions

View file

@ -235,8 +235,11 @@ typedef struct
/* for find_parent_in() */
mbedtls_x509_crt *parent; /* non-null iff parent_in in progress */
#if defined(MBEDTLS_HAVE_TIME_DATE)
mbedtls_x509_crt *fallback_parent;
int fallback_signature_is_good;
#endif /* MBEDTLS_HAVE_TIME_DATE */
/* for find_parent() */
int parent_is_trusted; /* -1 if find_parent is not in progress */