mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
ProcessBuffer(): in WOLFSSL_DUAL_ALG_CERTS code path, fall through without disrupting ret, if cert->sapkiOID and cert->sapkiLen are unset.
This commit is contained in:
@ -8096,6 +8096,10 @@ int ProcessBuffer(WOLFSSL_CTX* ctx, const unsigned char* buff,
|
|||||||
keySz = 0;
|
keySz = 0;
|
||||||
/* check alternative key size of cert */
|
/* check alternative key size of cert */
|
||||||
switch (cert->sapkiOID) {
|
switch (cert->sapkiOID) {
|
||||||
|
case 0:
|
||||||
|
if (cert->sapkiLen != 0)
|
||||||
|
ret = NOT_COMPILED_IN;
|
||||||
|
break;
|
||||||
#ifndef NO_RSA
|
#ifndef NO_RSA
|
||||||
#ifdef WC_RSA_PSS
|
#ifdef WC_RSA_PSS
|
||||||
case RSAPSSk:
|
case RSAPSSk:
|
||||||
|
Reference in New Issue
Block a user