forked from wolfSSL/wolfssl
src/ssl.c, cyassl/ssl.h
This commit is contained in:
@ -359,7 +359,7 @@
|
|||||||
|
|
||||||
/* new fips header files since old ones could not be changed for compatibility*/
|
/* new fips header files since old ones could not be changed for compatibility*/
|
||||||
#ifndef NO_AES
|
#ifndef NO_AES
|
||||||
#include <wolfssl/wolfcrytp/aes.h>
|
#include <wolfssl/wolfcrypt/aes.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -11559,7 +11559,7 @@ int wolfSSL_RSA_sign(int type, const unsigned char* m,
|
|||||||
if (rng) {
|
if (rng) {
|
||||||
type = (type == NID_md5) ? MD5h : SHAh;
|
type = (type == NID_md5) ? MD5h : SHAh;
|
||||||
|
|
||||||
signSz = EncodeSignature(encodedSig, m, mLen, type);
|
signSz = wc_EncodeSignature(encodedSig, m, mLen, type);
|
||||||
if (signSz == 0) {
|
if (signSz == 0) {
|
||||||
WOLFSSL_MSG("Bad Encode Signature");
|
WOLFSSL_MSG("Bad Encode Signature");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user