Fix FILE pointer not closed in tests/api.c

pull/5434/head
Satoshi Yamaguchi 2022-08-17 00:11:29 +09:00
parent cedfe9938a
commit e1b3f14d35
1 changed files with 1 additions and 0 deletions

View File

@ -32315,6 +32315,7 @@ static int test_wolfSSL_PEM_RSAPrivateKey(void)
AssertNotNull((rsa = PEM_read_RSAPrivateKey(f, NULL, NULL, NULL)));
AssertIntEQ(RSA_size(rsa), 256);
RSA_free(rsa);
XFCLOSE(f);
#ifdef HAVE_ECC
AssertNotNull(bio = BIO_new_file(eccKeyFile, "rb"));