summaryrefslogtreecommitdiffstats
path: root/crypto/rsa
diff options
context:
space:
mode:
authorslontis <shane.lontis@oracle.com>2023-02-17 13:00:12 +1000
committerPauli <pauli@openssl.org>2023-03-01 20:04:10 +1100
commit1735531c8ba7542e5fb2fe2f0becddb595955ace (patch)
tree1a4080cff724657cac08823561e837c503b47924 /crypto/rsa
parent977950bf385a3b12a09f03444bf7a213eacbba14 (diff)
Remove ossl_rsa_pss_params_30_set_maskgenalg().
This is an unused internal function. It should be added back in if there is a need to set this value to something other than NID_mgf1 (which is not likely). Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20321)
Diffstat (limited to 'crypto/rsa')
-rw-r--r--crypto/rsa/rsa_pss.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/crypto/rsa/rsa_pss.c b/crypto/rsa/rsa_pss.c
index b59b44c421..75fdef1f8c 100644
--- a/crypto/rsa/rsa_pss.c
+++ b/crypto/rsa/rsa_pss.c
@@ -334,15 +334,6 @@ int ossl_rsa_pss_params_30_set_hashalg(RSA_PSS_PARAMS_30 *rsa_pss_params,
return 1;
}
-int ossl_rsa_pss_params_30_set_maskgenalg(RSA_PSS_PARAMS_30 *rsa_pss_params,
- int maskgenalg_nid)
-{
- if (rsa_pss_params == NULL)
- return 0;
- rsa_pss_params->mask_gen.algorithm_nid = maskgenalg_nid;
- return 1;
-}
-
int ossl_rsa_pss_params_30_set_maskgenhashalg(RSA_PSS_PARAMS_30 *rsa_pss_params,
int maskgenhashalg_nid)
{