From 4769348b8b7ffa8b1bf6a62e32faa3fdb90cff43 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sun, 5 Jan 2025 15:40:42 +0000 Subject: Remove most of the RSA_FLAG_SIGN_VER documentation ok jsing kn --- src/lib/libcrypto/man/RSA_get0_key.3 | 15 ++++----------- src/lib/libcrypto/man/RSA_meth_new.3 | 24 ++---------------------- 2 files changed, 6 insertions(+), 33 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/man/RSA_get0_key.3 b/src/lib/libcrypto/man/RSA_get0_key.3 index 3fb74b19bc..f09fb00d2b 100644 --- a/src/lib/libcrypto/man/RSA_get0_key.3 +++ b/src/lib/libcrypto/man/RSA_get0_key.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: RSA_get0_key.3,v 1.7 2023/03/06 13:05:32 tb Exp $ +.\" $OpenBSD: RSA_get0_key.3,v 1.8 2025/01/05 15:40:42 tb Exp $ .\" selective merge up to: OpenSSL 665d899f Aug 2 02:19:43 2017 +0800 .\" .\" This file is a derived work. @@ -65,7 +65,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 6 2023 $ +.Dd $Mdocdate: January 5 2025 $ .Dt RSA_GET0_KEY 3 .Os .Sh NAME @@ -383,15 +383,8 @@ Turn off blinding during private key encryption and decryption. This flag is set by .Xr RSA_blinding_off 3 . .It Dv RSA_FLAG_SIGN_VER -Enable the use of the functions set with -.Xr RSA_meth_set_sign 3 -and -.Xr RSA_meth_set_verify 3 . -If unset, the functions set with -.Xr RSA_meth_set_priv_enc 3 -and -.Xr RSA_meth_set_pub_dec 3 -are used instead, respectively. +This flag has no effect. +It is provided only for backward compatibility with legacy applications. .El .Pp The flags diff --git a/src/lib/libcrypto/man/RSA_meth_new.3 b/src/lib/libcrypto/man/RSA_meth_new.3 index f42feb3f34..a3a5c549e5 100644 --- a/src/lib/libcrypto/man/RSA_meth_new.3 +++ b/src/lib/libcrypto/man/RSA_meth_new.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: RSA_meth_new.3,v 1.5 2019/07/13 17:26:38 schwarze Exp $ +.\" $OpenBSD: RSA_meth_new.3,v 1.6 2025/01/05 15:40:42 tb Exp $ .\" full merge up to: OpenSSL a970b14f Jul 31 18:58:40 2017 -0400 .\" selective merge up to: OpenSSL 24907560 Sep 17 07:47:42 2018 +1000 .\" @@ -66,7 +66,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 2019 $ +.Dd $Mdocdate: January 5 2025 $ .Dt RSA_METH_NEW 3 .Os .Sh NAME @@ -455,26 +455,6 @@ and .Fn RSA_meth_set_verify get and set the optional functions used for creating and verifying an RSA signature. -If the flag -.Dv RSA_FLAG_SIGN_VER -is set on the -.Vt RSA -object in question and -.Fa sign -or -.Fa verify -is not -.Dv NULL , -it will be called from -.Xr RSA_sign 3 -or -.Xr RSA_verify 3 , -respectively, and take the same parameters as those. -Otherwise, -.Xr RSA_private_encrypt 3 -or -.Xr RSA_public_decrypt 3 -will be used instead. .Pp .Fn RSA_meth_get_mod_exp and -- cgit v1.2.3-55-g6feb