summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-03-01 17:48:19 +0100
committerTomas Mraz <tomas@openssl.org>2021-03-04 14:15:01 +0100
commitbffe3ae7b8cc6219de597981370690d31cfe5e01 (patch)
treedaddcb234995832f8d1285263c31a59a53c5d576
parentcrypto/ppccap.c: Remove useless TODO 3.0 (diff)
downloadopenssl-bffe3ae7b8cc6219de597981370690d31cfe5e01.tar.xz
openssl-bffe3ae7b8cc6219de597981370690d31cfe5e01.zip
crypto/param_build_set.c: Remove irrelevant TODO 3.0
The OSSL_PARAM_set_BN() pads to data_size so there is no need for OSSL_PARAM_set_BN_pad(). Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14404)
-rw-r--r--crypto/param_build_set.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/param_build_set.c b/crypto/param_build_set.c
index 1ea8097e88..7f62630053 100644
--- a/crypto/param_build_set.c
+++ b/crypto/param_build_set.c
@@ -75,7 +75,6 @@ int ossl_param_build_set_bn_pad(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
if (p != NULL) {
if (sz > p->data_size)
return 0;
- /* TODO(3.0) Change to use OSSL_PARAM_set_BN_pad */
p->data_size = sz;
return OSSL_PARAM_set_BN(p, bn);
}