[crypto,key] eliminate dead code

This commit is contained in:
Armin Novak 2025-04-23 10:13:10 +02:00
parent bc22b9d8da
commit 549ba56233
No known key found for this signature in database
GPG Key ID: 2CF4A2D2D3D72105

View File

@ -461,9 +461,6 @@ BOOL freerdp_key_generate(rdpPrivateKey* key, const char* type, size_t count, ..
if (EVP_PKEY_keygen_init(pctx) != 1)
goto fail;
if (key_length > INT_MAX)
goto fail;
if (EVP_PKEY_CTX_set_rsa_keygen_bits(pctx, key_length) != 1)
goto fail;