]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
doc: Fix RSA public key parameters
authorAhmed JELIJLI <ahmedjeljeli@gmail.com>
Thu, 5 May 2022 09:33:25 +0000 (11:33 +0200)
committerPauli <pauli@openssl.org>
Mon, 9 May 2022 00:51:51 +0000 (10:51 +1000)
CLA: trivial

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18253)

doc/man3/OSSL_PARAM_BLD.pod

index a1c6c01c6719832a475d2f3d83a576f876e4970c..36182be0474f3a8b136ab3d389264c9b47272172 100644 (file)
@@ -183,7 +183,7 @@ public key.
 
     if (nld == NULL
         || !OSSL_PARAM_BLD_push_BN(bld, "n", n)
-        || !OSSL_PARAM_BLD_push_BN(bld, "d", d)
+        || !OSSL_PARAM_BLD_push_BN(bld, "e", e)
         || (params = OSSL_PARAM_BLD_to_param(bld)) == NULL)
         goto err;
     OSSL_PARAM_BLD_free(bld);