summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschwarze <>2016-12-06 22:55:35 +0000
committerschwarze <>2016-12-06 22:55:35 +0000
commita257ef467d49f89a4cfda88d08ab278eb14492d5 (patch)
tree4a74d37d5fccb0c5631a233dd89ba036f42f59c0
parent6feb64b95fc70ab2f3b3b53e3afc1fc531bedd02 (diff)
downloadopenbsd-a257ef467d49f89a4cfda88d08ab278eb14492d5.tar.gz
openbsd-a257ef467d49f89a4cfda88d08ab278eb14492d5.tar.bz2
openbsd-a257ef467d49f89a4cfda88d08ab278eb14492d5.zip
s/SSL_CTX_need_tmp_rsa/SSL_CTX_need_tmp_RSA/
because that's what <openssl/ssl.h> #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?
-rw-r--r--src/lib/libssl/man/SSL_CTX_set_tmp_rsa_callback.310
1 files changed, 5 insertions, 5 deletions
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 @@
1.\" $OpenBSD: SSL_CTX_set_tmp_rsa_callback.3,v 1.2 2016/12/06 22:41:16 schwarze Exp $ 1.\" $OpenBSD: SSL_CTX_set_tmp_rsa_callback.3,v 1.3 2016/12/06 22:55:35 schwarze Exp $
2.\" OpenSSL 0b30fc90 Dec 19 15:23:05 2013 -0500 2.\" OpenSSL 0b30fc90 Dec 19 15:23:05 2013 -0500
3.\" 3.\"
4.\" This file was written by Lutz Jaenicke <jaenicke@openssl.org>. 4.\" This file was written by Lutz Jaenicke <jaenicke@openssl.org>.
@@ -54,7 +54,7 @@
54.Sh NAME 54.Sh NAME
55.Nm SSL_CTX_set_tmp_rsa_callback , 55.Nm SSL_CTX_set_tmp_rsa_callback ,
56.Nm SSL_CTX_set_tmp_rsa , 56.Nm SSL_CTX_set_tmp_rsa ,
57.Nm SSL_CTX_need_tmp_rsa , 57.Nm SSL_CTX_need_tmp_RSA ,
58.Nm SSL_set_tmp_rsa_callback , 58.Nm SSL_set_tmp_rsa_callback ,
59.Nm SSL_set_tmp_rsa , 59.Nm SSL_set_tmp_rsa ,
60.Nm SSL_need_tmp_rsa 60.Nm SSL_need_tmp_rsa
@@ -69,7 +69,7 @@
69.Ft long 69.Ft long
70.Fn SSL_CTX_set_tmp_rsa "SSL_CTX *ctx" "RSA *rsa" 70.Fn SSL_CTX_set_tmp_rsa "SSL_CTX *ctx" "RSA *rsa"
71.Ft long 71.Ft long
72.Fn SSL_CTX_need_tmp_rsa "SSL_CTX *ctx" 72.Fn SSL_CTX_need_tmp_RSA "SSL_CTX *ctx"
73.Ft void 73.Ft void
74.Fo SSL_set_tmp_rsa_callback 74.Fo SSL_set_tmp_rsa_callback
75.Fa "SSL_CTX *ctx" 75.Fa "SSL_CTX *ctx"
@@ -106,7 +106,7 @@ with
106.Xr SSL_new 3 . 106.Xr SSL_new 3 .
107Already created SSL objects are not affected. 107Already created SSL objects are not affected.
108.Pp 108.Pp
109.Fn SSL_CTX_need_tmp_rsa 109.Fn SSL_CTX_need_tmp_RSA
110returns 1, 110returns 1,
111if a temporary/ephemeral RSA key is needed for RSA-based strength-limited 111if a temporary/ephemeral RSA key is needed for RSA-based strength-limited
112.Sq exportable 112.Sq exportable
@@ -203,7 +203,7 @@ and
203return 1 on success and 0 on failure. 203return 1 on success and 0 on failure.
204Check the error queue to find out the reason of failure. 204Check the error queue to find out the reason of failure.
205.Pp 205.Pp
206.Fn SSL_CTX_need_tmp_rsa 206.Fn SSL_CTX_need_tmp_RSA
207and 207and
208.Fn SSL_need_tmp_rsa 208.Fn SSL_need_tmp_rsa
209return 1 if a temporary RSA key is needed and 0 otherwise. 209return 1 if a temporary RSA key is needed and 0 otherwise.