From b316a70fec35440b51c158395ecc5ac3a6e0f538 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Wed, 13 Jan 2021 14:00:38 +0100 Subject: [PATCH] Fix #65176: openssl_pkey_new / openssl_pkey_get_public --- .../openssl/functions/openssl-pkey-new.xml | 39 +++++++++++++++++-- 1 file changed, 36 insertions(+), 3 deletions(-) diff --git a/reference/openssl/functions/openssl-pkey-new.xml b/reference/openssl/functions/openssl-pkey-new.xml index 62e22df2cd..97242bb28c 100644 --- a/reference/openssl/functions/openssl-pkey-new.xml +++ b/reference/openssl/functions/openssl-pkey-new.xml @@ -13,9 +13,9 @@ arrayconfigargs - openssl_pkey_new generates a new private and public - key pair. The public component of the key can be obtained using - openssl_pkey_get_public. + openssl_pkey_new generates a new private + key. + How to obtain the public component of the key is shown in an example below. ¬e.openssl.cnf; @@ -67,6 +67,39 @@ + + &reftitle.examples; + + Obtain the public key from a private key + + +]]> + + &example.outputs.similar; + + + + + +