wolfssl
wolfssl copied to clipboard
Validate asn date based on position of Z
Fixes https://github.com/wolfSSL/wolfssl/issues/8597
jenkins retest this please (Java crashed.)
Jenkins retest this please
jenkins retest this please
It will always eventually succeed. Need to redesign this part so we actually record whether it was generalized or utc.
if (GetTimeString(crl->crlList->lastDate, ASN_UTC_TIME,
tmp, MAX_WIDTH) != WOLFSSL_SUCCESS) {
if (GetTimeString(crl->crlList->lastDate, ASN_GENERALIZED_TIME,
tmp, MAX_WIDTH) != WOLFSSL_SUCCESS) {
WOLFSSL_MSG("Error getting last update date");
return WOLFSSL_FAILURE;
}
}
Please do not merge. I would like to squash this once it is approved.
Jenkins retest this please