summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2016-12-10 22:22:59 +0000
committerschwarze <schwarze@openbsd.org>2016-12-10 22:22:59 +0000
commit6ada955aaceecfe0885919e2cb23c73b2e8db12a (patch)
tree75b9d5f97927eebc4ec0d1ed5137136c5637faf0
parentAdd Copyright and license; jmc@ noticed that i forgot this file. (diff)
downloadwireguard-openbsd-6ada955aaceecfe0885919e2cb23c73b2e8db12a.tar.xz
wireguard-openbsd-6ada955aaceecfe0885919e2cb23c73b2e8db12a.zip
Replace all references to dh(3) with DH_new(3).
Make sure that all DH pages point back to DH_new(3).
-rw-r--r--lib/libcrypto/man/DH_generate_key.36
-rw-r--r--lib/libcrypto/man/DH_generate_parameters.35
-rw-r--r--lib/libcrypto/man/DH_get_ex_new_index.36
-rw-r--r--lib/libcrypto/man/DH_set_method.35
-rw-r--r--lib/libcrypto/man/DH_size.35
-rw-r--r--lib/libcrypto/man/DSA_dup_DH.36
-rw-r--r--lib/libcrypto/man/RSA_print.36
-rw-r--r--lib/libcrypto/man/crypto.34
-rw-r--r--lib/libcrypto/man/d2i_DHparams.37
-rw-r--r--lib/libcrypto/man/dsa.34
-rw-r--r--lib/libcrypto/man/engine.36
-rw-r--r--lib/libcrypto/man/rsa.34
12 files changed, 30 insertions, 34 deletions
diff --git a/lib/libcrypto/man/DH_generate_key.3 b/lib/libcrypto/man/DH_generate_key.3
index e6a8daf3a79..870cfdeff9f 100644
--- a/lib/libcrypto/man/DH_generate_key.3
+++ b/lib/libcrypto/man/DH_generate_key.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: DH_generate_key.3,v 1.5 2016/11/21 11:40:40 schwarze Exp $
+.\" $OpenBSD: DH_generate_key.3,v 1.6 2016/12/10 22:22:59 schwarze Exp $
.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
.\"
.\" This file was written by Ulf Moeller <ulf@openssl.org>.
@@ -48,7 +48,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 21 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt DH_GENERATE_KEY 3
.Os
.Sh NAME
@@ -110,7 +110,7 @@ returns the size of the shared secret on success, or -1 on error.
The error codes can be obtained by
.Xr ERR_get_error 3 .
.Sh SEE ALSO
-.Xr dh 3 ,
+.Xr DH_new 3 ,
.Xr DH_size 3 ,
.Xr ERR_get_error 3 ,
.Xr RAND_bytes 3
diff --git a/lib/libcrypto/man/DH_generate_parameters.3 b/lib/libcrypto/man/DH_generate_parameters.3
index 975b3745d23..fac74d8d741 100644
--- a/lib/libcrypto/man/DH_generate_parameters.3
+++ b/lib/libcrypto/man/DH_generate_parameters.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: DH_generate_parameters.3,v 1.5 2016/11/21 11:43:37 schwarze Exp $
+.\" $OpenBSD: DH_generate_parameters.3,v 1.6 2016/12/10 22:22:59 schwarze Exp $
.\" OpenSSL 05ea606a May 20 20:52:46 2016 -0400
.\"
.\" This file was written by Ulf Moeller <ulf@openssl.org>.
@@ -48,7 +48,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 21 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt DH_GENERATE_PARAMETERS 3
.Os
.Sh NAME
@@ -148,7 +148,6 @@ if the parameter generation fails.
The error codes can be obtained by
.Xr ERR_get_error 3 .
.Sh SEE ALSO
-.Xr dh 3 ,
.Xr DH_new 3 ,
.Xr ERR_get_error 3 ,
.Xr RAND_bytes 3
diff --git a/lib/libcrypto/man/DH_get_ex_new_index.3 b/lib/libcrypto/man/DH_get_ex_new_index.3
index 76440a45723..7f3f0e7765f 100644
--- a/lib/libcrypto/man/DH_get_ex_new_index.3
+++ b/lib/libcrypto/man/DH_get_ex_new_index.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: DH_get_ex_new_index.3,v 1.3 2016/11/23 16:28:23 schwarze Exp $
+.\" $OpenBSD: DH_get_ex_new_index.3,v 1.4 2016/12/10 22:22:59 schwarze Exp $
.\" OpenSSL a528d4f0 Oct 27 13:40:11 2015 -0400
.\"
.\" This file was written by Ulf Moeller <ulf@openssl.org>.
@@ -48,7 +48,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 23 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt DH_GET_EX_NEW_INDEX 3
.Os
.Sh NAME
@@ -87,7 +87,7 @@ Their usage is identical to that of
and
.Xr RSA_get_ex_data 3 .
.Sh SEE ALSO
-.Xr dh 3 ,
+.Xr DH_new 3 ,
.Xr RSA_get_ex_new_index 3
.Sh HISTORY
.Fn DH_get_ex_new_index ,
diff --git a/lib/libcrypto/man/DH_set_method.3 b/lib/libcrypto/man/DH_set_method.3
index d9563f7ccde..31d9b54ca78 100644
--- a/lib/libcrypto/man/DH_set_method.3
+++ b/lib/libcrypto/man/DH_set_method.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: DH_set_method.3,v 1.4 2016/11/21 11:48:44 schwarze Exp $
+.\" $OpenBSD: DH_set_method.3,v 1.5 2016/12/10 22:22:59 schwarze Exp $
.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
.\"
.\" This file was written by Ulf Moeller <ulf@openssl.org>.
@@ -48,7 +48,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 21 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt DH_SET_METHOD 3
.Os
.Sh NAME
@@ -219,7 +219,6 @@ and sets an error code that can be obtained by
if the allocation fails.
Otherwise it returns a pointer to the newly allocated structure.
.Sh SEE ALSO
-.Xr dh 3 ,
.Xr DH_new 3
.Sh HISTORY
.Fn DH_set_default_method ,
diff --git a/lib/libcrypto/man/DH_size.3 b/lib/libcrypto/man/DH_size.3
index 7b61709a48e..ea590357340 100644
--- a/lib/libcrypto/man/DH_size.3
+++ b/lib/libcrypto/man/DH_size.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: DH_size.3,v 1.3 2016/11/21 11:50:32 schwarze Exp $
+.\" $OpenBSD: DH_size.3,v 1.4 2016/12/10 22:22:59 schwarze Exp $
.\" OpenSSL 4d524e10 Feb 24 11:55:57 2000 +0000
.\"
.\" This file was written by Ulf Moeller <ulf@openssl.org>.
@@ -48,7 +48,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 21 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt DH_SIZE 3
.Os
.Sh NAME
@@ -75,7 +75,6 @@ must not be
The size in bytes.
.Sh SEE ALSO
.Xr BN_num_bytes 3 ,
-.Xr dh 3 ,
.Xr DH_generate_key 3 ,
.Xr DH_new 3
.Sh HISTORY
diff --git a/lib/libcrypto/man/DSA_dup_DH.3 b/lib/libcrypto/man/DSA_dup_DH.3
index 6a10c437865..76db352e5dc 100644
--- a/lib/libcrypto/man/DSA_dup_DH.3
+++ b/lib/libcrypto/man/DSA_dup_DH.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: DSA_dup_DH.3,v 1.3 2016/11/21 13:06:18 schwarze Exp $
+.\" $OpenBSD: DSA_dup_DH.3,v 1.4 2016/12/10 22:22:59 schwarze Exp $
.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
.\"
.\" This file was written by Ulf Moeller <ulf@openssl.org>.
@@ -48,7 +48,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 21 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt DSA_DUP_DH 3
.Os
.Sh NAME
@@ -81,7 +81,7 @@ on error.
The error codes can be obtained by
.Xr ERR_get_error 3 .
.Sh SEE ALSO
-.Xr dh 3 ,
+.Xr DH_new 3 ,
.Xr dsa 3 ,
.Xr ERR_get_error 3
.Sh HISTORY
diff --git a/lib/libcrypto/man/RSA_print.3 b/lib/libcrypto/man/RSA_print.3
index 5aeee57c6d8..b2956548787 100644
--- a/lib/libcrypto/man/RSA_print.3
+++ b/lib/libcrypto/man/RSA_print.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: RSA_print.3,v 1.3 2016/11/29 16:46:41 schwarze Exp $
+.\" $OpenBSD: RSA_print.3,v 1.4 2016/12/10 22:22:59 schwarze Exp $
.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
.\"
.\" This file was written by Ulf Moeller <ulf@openssl.org>.
@@ -48,7 +48,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 29 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt RSA_PRINT 3
.Os
.Sh NAME
@@ -123,8 +123,6 @@ spaces.
These functions return 1 on success or 0 on error.
.Sh SEE ALSO
.Xr BN_bn2bin 3 ,
-.Xr dh 3 ,
-.Xr dsa 3 ,
.Xr rsa 3
.Sh HISTORY
.Fn RSA_print ,
diff --git a/lib/libcrypto/man/crypto.3 b/lib/libcrypto/man/crypto.3
index bd7f5064d42..3ecb3714690 100644
--- a/lib/libcrypto/man/crypto.3
+++ b/lib/libcrypto/man/crypto.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: crypto.3,v 1.9 2016/12/10 21:13:25 schwarze Exp $
+.\" $OpenBSD: crypto.3,v 1.10 2016/12/10 22:22:59 schwarze Exp $
.\" OpenSSL a9c85cea Nov 11 09:33:55 2016 +0100
.\"
.\" This file was written by Ulf Moeller <ulf@openssl.org> and
@@ -74,7 +74,7 @@ and
.Pp
.Sy Public key cryptography and key agreement
are provided by
-.Xr dh 3 ,
+.Xr DH_new 3 ,
.Xr dsa 3 ,
.Xr ECDSA_SIG_new 3 ,
and
diff --git a/lib/libcrypto/man/d2i_DHparams.3 b/lib/libcrypto/man/d2i_DHparams.3
index b1f75fafae4..b345af68ab4 100644
--- a/lib/libcrypto/man/d2i_DHparams.3
+++ b/lib/libcrypto/man/d2i_DHparams.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: d2i_DHparams.3,v 1.4 2016/12/08 20:22:08 jmc Exp $
+.\" $OpenBSD: d2i_DHparams.3,v 1.5 2016/12/10 22:22:59 schwarze Exp $
.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
.\"
.\" This file was written by Ulf Moeller <ulf@openssl.org> and
@@ -49,7 +49,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: December 8 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt D2I_DHPARAMS 3
.Os
.Sh NAME
@@ -77,4 +77,5 @@ They otherwise behave in a way similar to
and
.Xr i2d_X509 3 .
.Sh SEE ALSO
-.Xr d2i_X509 3
+.Xr d2i_X509 3 ,
+.Xr DH_new 3
diff --git a/lib/libcrypto/man/dsa.3 b/lib/libcrypto/man/dsa.3
index f5ad282f9e6..78493635fba 100644
--- a/lib/libcrypto/man/dsa.3
+++ b/lib/libcrypto/man/dsa.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dsa.3,v 1.4 2016/12/10 21:13:25 schwarze Exp $
+.\" $OpenBSD: dsa.3,v 1.5 2016/12/10 22:22:59 schwarze Exp $
.\"
.Dd $Mdocdate: December 10 2016 $
.Dt DSA 3
@@ -54,7 +54,7 @@ or modify keys.
.Sh SEE ALSO
.Xr BN_new 3 ,
.Xr d2i_DSAPublicKey 3 ,
-.Xr dh 3 ,
+.Xr DH_new 3 ,
.Xr DSA_do_sign 3 ,
.Xr DSA_dup_DH 3 ,
.Xr DSA_generate_key 3 ,
diff --git a/lib/libcrypto/man/engine.3 b/lib/libcrypto/man/engine.3
index 555d1ba90ba..60ba7a9183a 100644
--- a/lib/libcrypto/man/engine.3
+++ b/lib/libcrypto/man/engine.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: engine.3,v 1.6 2016/12/08 22:13:59 jmc Exp $
+.\" $OpenBSD: engine.3,v 1.7 2016/12/10 22:22:59 schwarze Exp $
.\" OpenSSL a528d4f0 Oct 27 13:40:11 2015 -0400
.\"
.\" This file was written by Geoff Thorpe <geoff@openssl.org>.
@@ -49,7 +49,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: December 8 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt ENGINE 3
.Os
.Sh NAME
@@ -1217,7 +1217,7 @@ to see if they implement "FOO_GET_VENDOR_LOGO_GIF" - and
could therefore decide whether or not to support this "foo"-specific
extension).
.Sh SEE ALSO
-.Xr dh 3 ,
+.Xr DH_new 3 ,
.Xr dsa 3 ,
.Xr ENGINE_add_conf_module 3 ,
.Xr rsa 3
diff --git a/lib/libcrypto/man/rsa.3 b/lib/libcrypto/man/rsa.3
index 42ce4f72684..820db13fadb 100644
--- a/lib/libcrypto/man/rsa.3
+++ b/lib/libcrypto/man/rsa.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rsa.3,v 1.4 2016/12/10 21:13:25 schwarze Exp $
+.\" $OpenBSD: rsa.3,v 1.5 2016/12/10 22:22:59 schwarze Exp $
.\"
.Dd $Mdocdate: December 10 2016 $
.Dt RSA 3
@@ -62,7 +62,7 @@ or modify keys.
.Sh SEE ALSO
.Xr BN_new 3 ,
.Xr d2i_RSAPublicKey 3 ,
-.Xr dh 3 ,
+.Xr DH_new 3 ,
.Xr dsa 3 ,
.Xr engine 3 ,
.Xr EVP_PKEY_set1_RSA 3 ,