forked from wolfSSL/wolfssl
tests/api.c: fix a likely-spurious maybe-uninitialized from gcc-11 -m32 (all-sp-m32) in test_wolfSSL_PEM_PrivateKey().
This commit is contained in:
@ -36409,7 +36409,7 @@ static int test_wolfSSL_PEM_PrivateKey(void)
|
|||||||
!defined(HAVE_USER_RSA) && !defined(NO_RSA)
|
!defined(HAVE_USER_RSA) && !defined(NO_RSA)
|
||||||
{
|
{
|
||||||
XFILE f = XBADFILE;
|
XFILE f = XBADFILE;
|
||||||
wc_pem_password_cb* passwd_cb;
|
wc_pem_password_cb* passwd_cb = NULL;
|
||||||
void* passwd_cb_userdata;
|
void* passwd_cb_userdata;
|
||||||
SSL_CTX* ctx = NULL;
|
SSL_CTX* ctx = NULL;
|
||||||
char passwd[] = "bad password";
|
char passwd[] = "bad password";
|
||||||
|
Reference in New Issue
Block a user