Remove some lingering oldname return values

This commit is contained in:
elms
2022-01-11 17:09:52 -08:00
parent efe2cea8d1
commit 336e595ebb

View File

@ -3024,7 +3024,7 @@ int wolfSSL_SecureResume(WOLFSSL* ssl)
if (ssl->options.side == WOLFSSL_SERVER_END) { if (ssl->options.side == WOLFSSL_SERVER_END) {
ssl->error = SIDE_ERROR; ssl->error = SIDE_ERROR;
return SSL_FATAL_ERROR; return WOLFSSL_FATAL_ERROR;
} }
return _Rehandshake(ssl); return _Rehandshake(ssl);
@ -41263,7 +41263,7 @@ int wolfSSL_RSA_LoadDer_ex(WOLFSSL_RSA* rsa, const unsigned char* derBuf,
else { else {
WOLFSSL_MSG("RsaPublicKeyDecode failed"); WOLFSSL_MSG("RsaPublicKeyDecode failed");
} }
return SSL_FATAL_ERROR; return WOLFSSL_FATAL_ERROR;
} }
if (SetRsaExternal(rsa) != WOLFSSL_SUCCESS) { if (SetRsaExternal(rsa) != WOLFSSL_SUCCESS) {
@ -52746,7 +52746,7 @@ int wolfSSL_RSA_private_encrypt(int len, const unsigned char* in,
#endif #endif
{ {
WOLFSSL_MSG("Error with random number"); WOLFSSL_MSG("Error with random number");
return SSL_FATAL_ERROR; return WOLFSSL_FATAL_ERROR;
} }
#endif #endif
@ -52781,7 +52781,7 @@ int wolfSSL_RSA_private_encrypt(int len, const unsigned char* in,
#if !defined(WC_RSA_BLINDING) || defined(HAVE_USER_RSA) #if !defined(WC_RSA_BLINDING) || defined(HAVE_USER_RSA)
if (wc_FreeRng(rng) != 0) { if (wc_FreeRng(rng) != 0) {
WOLFSSL_MSG("Error freeing random number generator"); WOLFSSL_MSG("Error freeing random number generator");
return SSL_FATAL_ERROR; return WOLFSSL_FATAL_ERROR;
} }
#endif #endif
if (sz <= 0) { if (sz <= 0) {