From 1b80c03fe99067d43a3d61f46294afad4ff7661f Mon Sep 17 00:00:00 2001 From: Lealem Amedie Date: Thu, 17 Apr 2025 10:05:40 -0600 Subject: [PATCH] Change to short type --- src/ssl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ssl.c b/src/ssl.c index 8cf19b869..f6f06bb8f 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -2882,7 +2882,7 @@ int wolfSSL_GetOutputSize(WOLFSSL* ssl, int inSz) #ifdef HAVE_ECC int wolfSSL_CTX_SetMinEccKey_Sz(WOLFSSL_CTX* ctx, short keySz) { - int keySzBytes; + short keySzBytes; WOLFSSL_ENTER("wolfSSL_CTX_SetMinEccKey_Sz"); if (ctx == NULL || keySz < 0) { @@ -2915,7 +2915,7 @@ int wolfSSL_CTX_SetMinEccKey_Sz(WOLFSSL_CTX* ctx, short keySz) int wolfSSL_SetMinEccKey_Sz(WOLFSSL* ssl, short keySz) { - int keySzBytes; + short keySzBytes; WOLFSSL_ENTER("wolfSSL_SetMinEccKey_Sz"); if (ssl == NULL || keySz < 0) {