minor fixes to accommodate --disable-sha in combination with --enable-all-crypto.

This commit is contained in:
Daniel Pouzzner
2022-12-20 00:42:05 -06:00
parent 6f7d8d287d
commit 91869f6028
7 changed files with 144 additions and 37 deletions

View File

@@ -10078,10 +10078,10 @@ static int wc_PKCS7_DecryptRecipientInfos(PKCS7* pkcs7, byte* in,
#if !defined(NO_PWDBASED) && !defined(NO_SHA)
ret = wc_PKCS7_DecryptPwri(pkcs7, in, inSz, idx,
decryptedKey, decryptedKeySz, recipFound);
break;
#else
return NOT_COMPILED_IN;
#endif
break;
case WC_PKCS7_DECRYPT_ORI:
ret = wc_PKCS7_DecryptOri(pkcs7, in, inSz, idx,