forked from wolfSSL/wolfssl
wolfcrypt/src/asn.c: fix for benign identicalInnerCondition in ParseCertRelative().
This commit is contained in:
@ -23813,10 +23813,10 @@ int ParseCertRelative(DecodedCert* cert, int type, int verify, void* cm)
|
|||||||
DYNAMIC_TYPE_DCERT);
|
DYNAMIC_TYPE_DCERT);
|
||||||
if (der == NULL) {
|
if (der == NULL) {
|
||||||
ret = MEMORY_E;
|
ret = MEMORY_E;
|
||||||
}
|
} else
|
||||||
#endif /* ! WOLFSSL_SMALL_STACK */
|
#endif /* ! WOLFSSL_SMALL_STACK */
|
||||||
|
|
||||||
if (ret == 0) {
|
{
|
||||||
ret = wc_GeneratePreTBS(cert, der, MAX_CERT_VERIFY_SZ);
|
ret = wc_GeneratePreTBS(cert, der, MAX_CERT_VERIFY_SZ);
|
||||||
|
|
||||||
if (ret > 0) {
|
if (ret > 0) {
|
||||||
|
Reference in New Issue
Block a user