From 336e595ebbaeae8e02ee355937565744cc4866d8 Mon Sep 17 00:00:00 2001 From: elms Date: Tue, 11 Jan 2022 17:09:52 -0800 Subject: [PATCH] Remove some lingering oldname return values --- src/ssl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ssl.c b/src/ssl.c index b9d7087fa..32df93ed4 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -3024,7 +3024,7 @@ int wolfSSL_SecureResume(WOLFSSL* ssl) if (ssl->options.side == WOLFSSL_SERVER_END) { ssl->error = SIDE_ERROR; - return SSL_FATAL_ERROR; + return WOLFSSL_FATAL_ERROR; } return _Rehandshake(ssl); @@ -41263,7 +41263,7 @@ int wolfSSL_RSA_LoadDer_ex(WOLFSSL_RSA* rsa, const unsigned char* derBuf, else { WOLFSSL_MSG("RsaPublicKeyDecode failed"); } - return SSL_FATAL_ERROR; + return WOLFSSL_FATAL_ERROR; } if (SetRsaExternal(rsa) != WOLFSSL_SUCCESS) { @@ -52746,7 +52746,7 @@ int wolfSSL_RSA_private_encrypt(int len, const unsigned char* in, #endif { WOLFSSL_MSG("Error with random number"); - return SSL_FATAL_ERROR; + return WOLFSSL_FATAL_ERROR; } #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 (wc_FreeRng(rng) != 0) { WOLFSSL_MSG("Error freeing random number generator"); - return SSL_FATAL_ERROR; + return WOLFSSL_FATAL_ERROR; } #endif if (sz <= 0) {