mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-02-04 00:55:04 +01:00
Fix for RSA without SHA512 build error. Fix or renew cert PEM to DER.
This commit is contained in:
@@ -1467,7 +1467,10 @@ static int RsaUnPad_PSS(byte *pkcsBlock, unsigned int pkcsBlockLen,
|
||||
{
|
||||
int ret;
|
||||
byte* tmp;
|
||||
int hLen, i, maskLen, orig_bits = bits;
|
||||
int hLen, i, maskLen;
|
||||
#ifdef WOLFSSL_SHA512
|
||||
int orig_bits = bits;
|
||||
#endif
|
||||
#if defined(WOLFSSL_NO_MALLOC) && !defined(WOLFSSL_STATIC_MEMORY)
|
||||
byte tmp_buf[RSA_MAX_SIZE/8];
|
||||
tmp = tmp_buf;
|
||||
|
||||
Reference in New Issue
Block a user