]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
crypto/param_build_set.c: Remove irrelevant TODO 3.0
authorTomas Mraz <tomas@openssl.org>
Mon, 1 Mar 2021 16:48:19 +0000 (17:48 +0100)
committerTomas Mraz <tomas@openssl.org>
Thu, 4 Mar 2021 13:15:01 +0000 (14:15 +0100)
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)

crypto/param_build_set.c

index 1ea8097e881e69af54f898f9052c3281a41015d0..7f62630053d38ddc7e89c666434ffe3313122261 100644 (file)
@@ -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);
     }