From b452d867bc79f19c1f12ee3ffb2a85cebd986487 Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Tue, 6 Dec 2016 22:55:35 +0000 Subject: s/SSL_CTX_need_tmp_rsa/SSL_CTX_need_tmp_RSA/ because that's what #defines. That's likely a typo in the header file because all the other functions are called *tmp_rsa*(). But it would be a bad idea to fix such a bug in interfaces that are only provided for backward compatibility in the first place, so i'm adjusting the manual to be bug-compatible with the code, for now. But, pretty please, for the next major bump, somebody go get Bob's flensing knife and excise this part of the interface. Like, export ciphers? Really? --- src/lib/libssl/man/SSL_CTX_set_tmp_rsa_callback.3 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/lib/libssl/man/SSL_CTX_set_tmp_rsa_callback.3 b/src/lib/libssl/man/SSL_CTX_set_tmp_rsa_callback.3 index 6be781b341..e24a04992e 100644 --- a/src/lib/libssl/man/SSL_CTX_set_tmp_rsa_callback.3 +++ b/src/lib/libssl/man/SSL_CTX_set_tmp_rsa_callback.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: SSL_CTX_set_tmp_rsa_callback.3,v 1.2 2016/12/06 22:41:16 schwarze Exp $ +.\" $OpenBSD: SSL_CTX_set_tmp_rsa_callback.3,v 1.3 2016/12/06 22:55:35 schwarze Exp $ .\" OpenSSL 0b30fc90 Dec 19 15:23:05 2013 -0500 .\" .\" This file was written by Lutz Jaenicke . @@ -54,7 +54,7 @@ .Sh NAME .Nm SSL_CTX_set_tmp_rsa_callback , .Nm SSL_CTX_set_tmp_rsa , -.Nm SSL_CTX_need_tmp_rsa , +.Nm SSL_CTX_need_tmp_RSA , .Nm SSL_set_tmp_rsa_callback , .Nm SSL_set_tmp_rsa , .Nm SSL_need_tmp_rsa @@ -69,7 +69,7 @@ .Ft long .Fn SSL_CTX_set_tmp_rsa "SSL_CTX *ctx" "RSA *rsa" .Ft long -.Fn SSL_CTX_need_tmp_rsa "SSL_CTX *ctx" +.Fn SSL_CTX_need_tmp_RSA "SSL_CTX *ctx" .Ft void .Fo SSL_set_tmp_rsa_callback .Fa "SSL_CTX *ctx" @@ -106,7 +106,7 @@ with .Xr SSL_new 3 . Already created SSL objects are not affected. .Pp -.Fn SSL_CTX_need_tmp_rsa +.Fn SSL_CTX_need_tmp_RSA returns 1, if a temporary/ephemeral RSA key is needed for RSA-based strength-limited .Sq exportable @@ -203,7 +203,7 @@ and return 1 on success and 0 on failure. Check the error queue to find out the reason of failure. .Pp -.Fn SSL_CTX_need_tmp_rsa +.Fn SSL_CTX_need_tmp_RSA and .Fn SSL_need_tmp_rsa return 1 if a temporary RSA key is needed and 0 otherwise. -- cgit v1.2.3-55-g6feb