summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmc <>2016-11-12 19:23:16 +0000
committerjmc <>2016-11-12 19:23:16 +0000
commit86c097bfe41072c2490c850b0bed68ed584c0ca0 (patch)
tree38df1a106b5330e8584417534ae7b3c0f6179a9d
parent27b8fa306265030fec55a4dc444c6580c79c66a8 (diff)
downloadopenbsd-86c097bfe41072c2490c850b0bed68ed584c0ca0.tar.gz
openbsd-86c097bfe41072c2490c850b0bed68ed584c0ca0.tar.bz2
openbsd-86c097bfe41072c2490c850b0bed68ed584c0ca0.zip
minor cleanup;
-rw-r--r--src/lib/libcrypto/man/ASN1_TYPE_get.36
-rw-r--r--src/lib/libcrypto/man/DH_generate_key.38
-rw-r--r--src/lib/libcrypto/man/DH_generate_parameters.310
-rw-r--r--src/lib/libcrypto/man/DH_set_method.36
-rw-r--r--src/lib/libcrypto/man/DSA_set_method.310
5 files changed, 20 insertions, 20 deletions
diff --git a/src/lib/libcrypto/man/ASN1_TYPE_get.3 b/src/lib/libcrypto/man/ASN1_TYPE_get.3
index cb7f715036..5531e572d1 100644
--- a/src/lib/libcrypto/man/ASN1_TYPE_get.3
+++ b/src/lib/libcrypto/man/ASN1_TYPE_get.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ASN1_TYPE_get.3,v 1.1 2016/11/11 01:18:19 schwarze Exp $ 1.\" $OpenBSD: ASN1_TYPE_get.3,v 1.2 2016/11/12 19:23:16 jmc Exp $
2.\" OpenSSL 99d63d46 Mon Jun 6 00:43:05 2016 -0400 2.\" OpenSSL 99d63d46 Mon Jun 6 00:43:05 2016 -0400
3.\" 3.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 49.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 50.\"
51.Dd $Mdocdate: November 11 2016 $ 51.Dd $Mdocdate: November 12 2016 $
52.Dt ASN1_TYPE_GET 3 52.Dt ASN1_TYPE_GET 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -190,7 +190,7 @@ Technically, if both parameters are
190the two types could be absent OPTIONAL fields and so should match, 190the two types could be absent OPTIONAL fields and so should match,
191however passing 191however passing
192.Dv NULL 192.Dv NULL
193Values could also indicate a programming error (for example an 193values could also indicate a programming error (for example an
194unparseable type which returns 194unparseable type which returns
195.Dv NULL ) 195.Dv NULL )
196for types which do 196for types which do
diff --git a/src/lib/libcrypto/man/DH_generate_key.3 b/src/lib/libcrypto/man/DH_generate_key.3
index 94fe00823e..b9249cb3b9 100644
--- a/src/lib/libcrypto/man/DH_generate_key.3
+++ b/src/lib/libcrypto/man/DH_generate_key.3
@@ -1,6 +1,6 @@
1.\" $OpenBSD: DH_generate_key.3,v 1.2 2016/11/06 15:52:50 jmc Exp $ 1.\" $OpenBSD: DH_generate_key.3,v 1.3 2016/11/12 19:23:16 jmc Exp $
2.\" 2.\"
3.Dd $Mdocdate: November 6 2016 $ 3.Dd $Mdocdate: November 12 2016 $
4.Dt DH_GENERATE_KEY 3 4.Dt DH_GENERATE_KEY 3
5.Os 5.Os
6.Sh NAME 6.Sh NAME
@@ -54,10 +54,10 @@ must point to
54bytes of memory. 54bytes of memory.
55.Sh RETURN VALUES 55.Sh RETURN VALUES
56.Fn DH_generate_key 56.Fn DH_generate_key
57returns 1 on success, 0 otherwise. 57returns 1 on success, or 0 otherwise.
58.Pp 58.Pp
59.Fn DH_compute_key 59.Fn DH_compute_key
60returns the size of the shared secret on success, -1 on error. 60returns the size of the shared secret on success, or -1 on error.
61.Pp 61.Pp
62The error codes can be obtained by 62The error codes can be obtained by
63.Xr ERR_get_error 3 . 63.Xr ERR_get_error 3 .
diff --git a/src/lib/libcrypto/man/DH_generate_parameters.3 b/src/lib/libcrypto/man/DH_generate_parameters.3
index b092ad0263..01b13609cb 100644
--- a/src/lib/libcrypto/man/DH_generate_parameters.3
+++ b/src/lib/libcrypto/man/DH_generate_parameters.3
@@ -1,12 +1,12 @@
1.\" $OpenBSD: DH_generate_parameters.3,v 1.2 2016/11/06 15:52:50 jmc Exp $ 1.\" $OpenBSD: DH_generate_parameters.3,v 1.3 2016/11/12 19:23:16 jmc Exp $
2.\" 2.\"
3.Dd $Mdocdate: November 6 2016 $ 3.Dd $Mdocdate: November 12 2016 $
4.Dt DH_GENERATE_PARAMETERS 3 4.Dt DH_GENERATE_PARAMETERS 3
5.Os 5.Os
6.Sh NAME 6.Sh NAME
7.Nm DH_generate_parameters_ex , 7.Nm DH_generate_parameters_ex ,
8.Nm DH_generate_parameters , 8.Nm DH_check ,
9.Nm DH_check 9.Nm DH_generate_parameters
10.Nd generate and check Diffie-Hellman parameters 10.Nd generate and check Diffie-Hellman parameters
11.Sh SYNOPSIS 11.Sh SYNOPSIS
12.In openssl/dh.h 12.In openssl/dh.h
@@ -79,7 +79,7 @@ is set if the generator cannot be checked, i.e. if it does not equal 2 or 5.
79.Fn DH_generate_parameters_ex 79.Fn DH_generate_parameters_ex
80and 80and
81.Fn DH_check 81.Fn DH_check
82return 1 if the check could be performed, 0 otherwise. 82return 1 if the check could be performed, or 0 otherwise.
83.Pp 83.Pp
84.Fn DH_generate_parameters 84.Fn DH_generate_parameters
85(deprecated) returns a pointer to the 85(deprecated) returns a pointer to the
diff --git a/src/lib/libcrypto/man/DH_set_method.3 b/src/lib/libcrypto/man/DH_set_method.3
index 93cdf5576d..c20ea3b4e4 100644
--- a/src/lib/libcrypto/man/DH_set_method.3
+++ b/src/lib/libcrypto/man/DH_set_method.3
@@ -1,6 +1,6 @@
1.\" $OpenBSD: DH_set_method.3,v 1.2 2016/11/06 15:52:50 jmc Exp $ 1.\" $OpenBSD: DH_set_method.3,v 1.3 2016/11/12 19:23:16 jmc Exp $
2.\" 2.\"
3.Dd $Mdocdate: November 6 2016 $ 3.Dd $Mdocdate: November 12 2016 $
4.Dt DH_SET_METHOD 3 4.Dt DH_SET_METHOD 3
5.Os 5.Os
6.Sh NAME 6.Sh NAME
@@ -109,7 +109,7 @@ is
109.Dv NULL , 109.Dv NULL ,
110the default 110the default
111.Vt ENGINE 111.Vt ENGINE
112for DH operations is used, and if no default 112for DH operations is used and, if no default
113.Vt ENGINE 113.Vt ENGINE
114is set, the 114is set, the
115.Vt DH_METHOD 115.Vt DH_METHOD
diff --git a/src/lib/libcrypto/man/DSA_set_method.3 b/src/lib/libcrypto/man/DSA_set_method.3
index f7c16492ff..8266e1abad 100644
--- a/src/lib/libcrypto/man/DSA_set_method.3
+++ b/src/lib/libcrypto/man/DSA_set_method.3
@@ -1,6 +1,6 @@
1.\" $OpenBSD: DSA_set_method.3,v 1.2 2016/11/06 15:52:50 jmc Exp $ 1.\" $OpenBSD: DSA_set_method.3,v 1.3 2016/11/12 19:23:16 jmc Exp $
2.\" 2.\"
3.Dd $Mdocdate: November 6 2016 $ 3.Dd $Mdocdate: November 12 2016 $
4.Dt DSA_SET_METHOD 3 4.Dt DSA_SET_METHOD 3
5.Os 5.Os
6.Sh NAME 6.Sh NAME
@@ -55,8 +55,8 @@ makes
55the default method for all 55the default method for all
56.Vt DSA 56.Vt DSA
57structures created later. 57structures created later.
58.Sy NB : 58.Sy Note :
59This is true only whilst no 59this is true only whilst no
60.Vt ENGINE 60.Vt ENGINE
61has been set as a default for DSA, so this function is no longer 61has been set as a default for DSA, so this function is no longer
62recommended. 62recommended.
@@ -99,7 +99,7 @@ If
99.Fa engine 99.Fa engine
100is 100is
101.Dv NULL , 101.Dv NULL ,
102the default engine for DSA operations is used, and if no 102the default engine for DSA operations is used and, if no
103default 103default
104.Vt ENGINE 104.Vt ENGINE
105is set, the 105is set, the