mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
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:
@ -61436,7 +61436,7 @@ static int test_wolfSSL_X509_NID(void)
|
|||||||
#if (defined(OPENSSL_EXTRA) || defined(OPENSSL_EXTRA_X509_SMALL)) && \
|
#if (defined(OPENSSL_EXTRA) || defined(OPENSSL_EXTRA_X509_SMALL)) && \
|
||||||
!defined(NO_RSA) && defined(USE_CERT_BUFFERS_2048) && !defined(NO_ASN)
|
!defined(NO_RSA) && defined(USE_CERT_BUFFERS_2048) && !defined(NO_ASN)
|
||||||
int sigType;
|
int sigType;
|
||||||
int nameSz;
|
int nameSz = 0;
|
||||||
|
|
||||||
X509* cert = NULL;
|
X509* cert = NULL;
|
||||||
EVP_PKEY* pubKeyTmp = NULL;
|
EVP_PKEY* pubKeyTmp = NULL;
|
||||||
|
Reference in New Issue
Block a user