[warnings] fix -Wshadow

This commit is contained in:
akallabeth
2023-05-23 09:10:36 +02:00
committed by Martin Fleisz
parent ab677f8abe
commit df76b59da7
4 changed files with 31 additions and 29 deletions

View File

@@ -713,10 +713,10 @@ static BOOL makecert_create_rsa(EVP_PKEY** ppkey, size_t key_length)
}
BN_set_word(bn, RSA_F4);
const int rc = RSA_generate_key_ex(rsa, key_length, bn, NULL);
const int res = RSA_generate_key_ex(rsa, key_length, bn, NULL);
BN_clear_free(bn);
if (rc != 1)
if (res != 1)
return FALSE;
}
#endif