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:
Daniel Pouzzner
2023-06-03 10:41:15 -05:00
parent 37aada0313
commit 6c4cc2a931

View File

@ -36409,7 +36409,7 @@ static int test_wolfSSL_PEM_PrivateKey(void)
!defined(HAVE_USER_RSA) && !defined(NO_RSA)
{
XFILE f = XBADFILE;
wc_pem_password_cb* passwd_cb;
wc_pem_password_cb* passwd_cb = NULL;
void* passwd_cb_userdata;
SSL_CTX* ctx = NULL;
char passwd[] = "bad password";