File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16612,7 +16612,7 @@ static int ConfirmSignature(SignatureCtx* sigCtx,
1661216612 const byte* sigParams, word32 sigParamsSz,
1661316613 byte* rsaKeyIdx)
1661416614{
16615- int ret = 0;
16615+ int ret = ASN_SIG_CONFIRM_E; /* default to failure */
1661616616#if defined(WOLFSSL_RENESAS_TSIP_TLS) || defined(WOLFSSL_RENESAS_FSPSM_TLS)
1661716617 CertAttribute* certatt = NULL;
1661816618#endif
@@ -17749,8 +17749,8 @@ static int ConfirmSignature(SignatureCtx* sigCtx,
1774917749exit_cs:
1775017750
1775117751#else
17752- /* Warning: The NO_ASN_CRYPT option skips signature checking! */
17753- ret = 0; /* allow unchecked signature */
17752+ /* For NO_ASN_CRYPT return "not compiled in" */
17753+ ret = NOT_COMPILED_IN;
1775417754#endif /* !NO_ASN_CRYPT */
1775517755
1775617756 (void)keyOID;
You can’t perform that action at this time.
0 commit comments