mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[warnings] fix -Wshadow
This commit is contained in:
committed by
Martin Fleisz
parent
ab677f8abe
commit
df76b59da7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user