From 731e06f609965746275f6629d85005712ac63694 Mon Sep 17 00:00:00 2001 From: tb Date: Sun, 19 Nov 2023 21:03:22 +0000 Subject: [PATCH] Remove ENGINE mention in RSA_new() --- lib/libcrypto/man/RSA_new.3 | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/lib/libcrypto/man/RSA_new.3 b/lib/libcrypto/man/RSA_new.3 index b4c595ff259..f5c7929e77b 100644 --- a/lib/libcrypto/man/RSA_new.3 +++ b/lib/libcrypto/man/RSA_new.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: RSA_new.3,v 1.17 2022/07/13 21:51:35 schwarze Exp $ +.\" $OpenBSD: RSA_new.3,v 1.18 2023/11/19 21:03:22 tb Exp $ .\" full merge up to: .\" OpenSSL doc/man3/RSA_new.pod e9b77246 Jan 20 19:58:49 2017 +0100 .\" OpenSSL doc/crypto/rsa.pod 35d2e327 Jun 3 16:19:49 2016 -0400 (final) @@ -67,7 +67,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: July 13 2022 $ +.Dd $Mdocdate: November 19 2023 $ .Dt RSA_NEW 3 .Os .Sh NAME @@ -128,12 +128,8 @@ decrements the reference count by 1. If it reaches 0, it calls the optional .Fa finish function set up with -.Xr RSA_meth_set_finish 3 , -calls -.Xr ENGINE_finish 3 -if -.Fa rsa -uses an engine, and frees the +.Xr RSA_meth_set_finish 3 +and frees the .Vt RSA structure and its components. The key is erased before the memory is returned to the system. @@ -185,12 +181,8 @@ values are available. .Pp Note that RSA keys may use non-standard .Vt RSA_METHOD -implementations, either directly or by the use of -.Vt ENGINE -modules. -In some cases (e.g. an -.Vt ENGINE -providing support for hardware-embedded keys), these +implementations. +In some cases, these .Vt BIGNUM values will not be used by the implementation or may be used for alternative data storage. -- 2.20.1