mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 20:14:20 +08:00
prov: remove todos in rsa_keymgmt.c
The TODOs are about OAEP and aren't relevant. Fixes #14361 Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/14565)
This commit is contained in:
parent
cc32fbdca1
commit
95856e34bb
@ -164,8 +164,6 @@ static int rsa_import(void *keydata, int selection, const OSSL_PARAM params[])
|
||||
|
||||
rsa_type = RSA_test_flags(rsa, RSA_FLAG_TYPE_MASK);
|
||||
|
||||
/* TODO(3.0) OAEP should bring on parameters as well */
|
||||
|
||||
if ((selection & OSSL_KEYMGMT_SELECT_OTHER_PARAMETERS) != 0)
|
||||
ok = ok && pss_params_fromdata(ossl_rsa_get0_pss_params_30(rsa),
|
||||
&pss_defaults_set,
|
||||
@ -189,8 +187,6 @@ static int rsa_export(void *keydata, int selection,
|
||||
if (!ossl_prov_is_running() || rsa == NULL)
|
||||
return 0;
|
||||
|
||||
/* TODO(3.0) OAEP should bring on parameters */
|
||||
|
||||
tmpl = OSSL_PARAM_BLD_new();
|
||||
if (tmpl == NULL)
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user