Fix false positive error on gcc 9.4.0

"error: ‘nameSz’ may be used uninitialized in this function", but it's not actually going to be used uninitialized.
This commit is contained in:
Andras Fekete
2024-11-06 14:54:02 -05:00
parent b4f0789ce5
commit cbf4f014cd

View File

@ -61436,7 +61436,7 @@ static int test_wolfSSL_X509_NID(void)
#if (defined(OPENSSL_EXTRA) || defined(OPENSSL_EXTRA_X509_SMALL)) && \
!defined(NO_RSA) && defined(USE_CERT_BUFFERS_2048) && !defined(NO_ASN)
int sigType;
int nameSz;
int nameSz = 0;
X509* cert = NULL;
EVP_PKEY* pubKeyTmp = NULL;