From: Tomas Mraz Date: Mon, 1 Mar 2021 16:48:19 +0000 (+0100) Subject: crypto/param_build_set.c: Remove irrelevant TODO 3.0 X-Git-Tag: openssl-3.0.0-alpha13~56 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bffe3ae7b8cc6219de597981370690d31cfe5e01;p=thirdparty%2Fopenssl.git 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 (Merged from https://github.com/openssl/openssl/pull/14404) --- diff --git a/crypto/param_build_set.c b/crypto/param_build_set.c index 1ea8097e881..7f62630053d 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); }