summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorjmc <>2016-12-08 20:22:08 +0000
committerjmc <>2016-12-08 20:22:08 +0000
commitd005c040eb015cb7a531a0fc79d93c52f0a6d3fa (patch)
tree0411b9b0edcf0076b39d1e851620d85309d7e784 /src/lib
parent3ecba1647a8d554781f8b0e23e26568b73b993bb (diff)
downloadopenbsd-d005c040eb015cb7a531a0fc79d93c52f0a6d3fa.tar.gz
openbsd-d005c040eb015cb7a531a0fc79d93c52f0a6d3fa.tar.bz2
openbsd-d005c040eb015cb7a531a0fc79d93c52f0a6d3fa.zip
various cleanup;
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/man/d2i_ASN1_OBJECT.311
-rw-r--r--src/lib/libcrypto/man/d2i_DHparams.37
-rw-r--r--src/lib/libcrypto/man/d2i_DSAPublicKey.314
-rw-r--r--src/lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.312
-rw-r--r--src/lib/libcrypto/man/d2i_PrivateKey.38
-rw-r--r--src/lib/libcrypto/man/d2i_RSAPublicKey.38
-rw-r--r--src/lib/libcrypto/man/d2i_X509.318
-rw-r--r--src/lib/libcrypto/man/d2i_X509_ALGOR.37
-rw-r--r--src/lib/libcrypto/man/d2i_X509_CRL.37
-rw-r--r--src/lib/libcrypto/man/d2i_X509_NAME.311
-rw-r--r--src/lib/libcrypto/man/d2i_X509_REQ.37
-rw-r--r--src/lib/libcrypto/man/d2i_X509_SIG.39
12 files changed, 58 insertions, 61 deletions
diff --git a/src/lib/libcrypto/man/d2i_ASN1_OBJECT.3 b/src/lib/libcrypto/man/d2i_ASN1_OBJECT.3
index 48ecd89db6..77e6848394 100644
--- a/src/lib/libcrypto/man/d2i_ASN1_OBJECT.3
+++ b/src/lib/libcrypto/man/d2i_ASN1_OBJECT.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: d2i_ASN1_OBJECT.3,v 1.3 2016/12/05 20:32:19 schwarze Exp $ 1.\" $OpenBSD: d2i_ASN1_OBJECT.3,v 1.4 2016/12/08 20:22:08 jmc Exp $
2.\" OpenSSL 05ea606a May 20 20:52:46 2016 -0400 2.\" OpenSSL 05ea606a May 20 20:52:46 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,13 +48,13 @@
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: December 5 2016 $ 51.Dd $Mdocdate: December 8 2016 $
52.Dt D2I_ASN1_OBJECT 3 52.Dt D2I_ASN1_OBJECT 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
55.Nm d2i_ASN1_OBJECT , 55.Nm d2i_ASN1_OBJECT ,
56.Nm i2d_ASN1_OBJECT 56.Nm i2d_ASN1_OBJECT
57.Nd ASN1 OBJECT IDENTIFIER functions 57.Nd ASN.1 OBJECT IDENTIFIER functions
58.Sh SYNOPSIS 58.Sh SYNOPSIS
59.In openssl/objects.h 59.In openssl/objects.h
60.Ft ASN1_OBJECT * 60.Ft ASN1_OBJECT *
@@ -69,9 +69,8 @@
69.Fa "unsigned char **pp" 69.Fa "unsigned char **pp"
70.Fc 70.Fc
71.Sh DESCRIPTION 71.Sh DESCRIPTION
72These functions decode and encode an ASN1 OBJECT IDENTIFIER. 72These functions decode and encode an ASN.1 OBJECT IDENTIFIER.
73.Pp 73They otherwise behave in a similar way to
74Otherwise these behave in a similar way to
75.Xr d2i_X509 3 74.Xr d2i_X509 3
76and 75and
77.Xr i2d_X509 3 . 76.Xr i2d_X509 3 .
diff --git a/src/lib/libcrypto/man/d2i_DHparams.3 b/src/lib/libcrypto/man/d2i_DHparams.3
index cbf32c8c6e..b1f75fafae 100644
--- a/src/lib/libcrypto/man/d2i_DHparams.3
+++ b/src/lib/libcrypto/man/d2i_DHparams.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: d2i_DHparams.3,v 1.3 2016/12/05 20:32:19 schwarze Exp $ 1.\" $OpenBSD: d2i_DHparams.3,v 1.4 2016/12/08 20:22:08 jmc Exp $
2.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 2.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
3.\" 3.\"
4.\" This file was written by Ulf Moeller <ulf@openssl.org> and 4.\" This file was written by Ulf Moeller <ulf@openssl.org> and
@@ -49,7 +49,7 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 51.\"
52.Dd $Mdocdate: December 5 2016 $ 52.Dd $Mdocdate: December 8 2016 $
53.Dt D2I_DHPARAMS 3 53.Dt D2I_DHPARAMS 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -72,8 +72,7 @@
72.Sh DESCRIPTION 72.Sh DESCRIPTION
73These functions decode and encode PKCS#3 DH parameters using the 73These functions decode and encode PKCS#3 DH parameters using the
74DHparameter structure described in PKCS#3. 74DHparameter structure described in PKCS#3.
75.Pp 75They otherwise behave in a way similar to
76Otherwise these behave in a way similar to
77.Xr d2i_X509 3 76.Xr d2i_X509 3
78and 77and
79.Xr i2d_X509 3 . 78.Xr i2d_X509 3 .
diff --git a/src/lib/libcrypto/man/d2i_DSAPublicKey.3 b/src/lib/libcrypto/man/d2i_DSAPublicKey.3
index 423beb123a..6474e9a46c 100644
--- a/src/lib/libcrypto/man/d2i_DSAPublicKey.3
+++ b/src/lib/libcrypto/man/d2i_DSAPublicKey.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: d2i_DSAPublicKey.3,v 1.3 2016/12/05 20:36:19 schwarze Exp $ 1.\" $OpenBSD: d2i_DSAPublicKey.3,v 1.4 2016/12/08 20:22:08 jmc Exp $
2.\" OpenSSL bb9ad09e Jun 6 00:43:05 2016 -0400 2.\" OpenSSL bb9ad09e 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>.
@@ -49,20 +49,20 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 51.\"
52.Dd $Mdocdate: December 5 2016 $ 52.Dd $Mdocdate: December 8 2016 $
53.Dt D2I_DSAPUBLICKEY 3 53.Dt D2I_DSAPUBLICKEY 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
56.Nm d2i_DSAPublicKey , 56.Nm d2i_DSAPublicKey ,
57.Nm i2d_DSAPublicKey , 57.Nm i2d_DSAPublicKey ,
58.Nm d2i_DSAPrivateKey ,
59.Nm i2d_DSAPrivateKey ,
60.Nm d2i_DSA_PUBKEY , 58.Nm d2i_DSA_PUBKEY ,
61.Nm i2d_DSA_PUBKEY , 59.Nm i2d_DSA_PUBKEY ,
62.Nm d2i_DSA_PUBKEY_bio , 60.Nm d2i_DSA_PUBKEY_bio ,
63.Nm d2i_DSA_PUBKEY_fp , 61.Nm d2i_DSA_PUBKEY_fp ,
64.Nm i2d_DSA_PUBKEY_bio , 62.Nm i2d_DSA_PUBKEY_bio ,
65.Nm i2d_DSA_PUBKEY_fp , 63.Nm i2d_DSA_PUBKEY_fp ,
64.Nm d2i_DSAPrivateKey ,
65.Nm i2d_DSAPrivateKey ,
66.Nm d2i_DSAparams , 66.Nm d2i_DSAparams ,
67.Nm i2d_DSAparams , 67.Nm i2d_DSAparams ,
68.Nm d2i_DSA_SIG , 68.Nm d2i_DSA_SIG ,
@@ -183,14 +183,14 @@ and
183.Fn i2d_DSAparams 183.Fn i2d_DSAparams
184decode and encode the DSA parameters using a 184decode and encode the DSA parameters using a
185.Sy Dss-Parms 185.Sy Dss-Parms
186structure as defined in RFC2459. 186structure as defined in RFC 2459.
187.Pp 187.Pp
188.Fn d2i_DSA_SIG 188.Fn d2i_DSA_SIG
189and 189and
190.Fn i2d_DSA_SIG 190.Fn i2d_DSA_SIG
191decode and encode a DSA signature using a 191decode and encode a DSA signature using a
192.Sy Dss-Sig-Value 192.Sy Dss-Sig-Value
193structure as defined in RFC2459. 193structure as defined in RFC 2459.
194.Pp 194.Pp
195The usage of all of these functions is similar to 195The usage of all of these functions is similar to
196.Xr d2i_X509 3 196.Xr d2i_X509 3
@@ -213,7 +213,7 @@ functions when encoding public keys because they use a standard format.
213.Pp 213.Pp
214The 214The
215.Fn *_DSAPublicKey 215.Fn *_DSAPublicKey
216functions use an non-standard format. 216functions use a non-standard format.
217The actual data encoded depends on the value of 217The actual data encoded depends on the value of
218.Fa a->write_params . 218.Fa a->write_params .
219If 219If
diff --git a/src/lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.3 b/src/lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.3
index eb9cf563d8..76295cdde1 100644
--- a/src/lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.3
+++ b/src/lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: d2i_PKCS8PrivateKey_bio.3,v 1.4 2016/12/06 14:45:08 schwarze Exp $ 1.\" $OpenBSD: d2i_PKCS8PrivateKey_bio.3,v 1.5 2016/12/08 20:22:08 jmc Exp $
2.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 2.\" OpenSSL 99d63d46 Oct 26 13:56:48 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: December 6 2016 $ 51.Dd $Mdocdate: December 8 2016 $
52.Dt D2I_PKCS8PRIVATEKEY_BIO 3 52.Dt D2I_PKCS8PRIVATEKEY_BIO 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -137,9 +137,11 @@ Currently all the functions use
137.Vt BIO 137.Vt BIO
138or 138or
139.Vt FILE 139.Vt FILE
140pointers, there are no functions which work directly on memory: 140pointers.
141this can be readily worked around by converting the buffers to 141There are no functions which work directly on memory,
142memory BIOs, see 142though this can be readily worked around
143by converting the buffers to memory BIOs;
144see
143.Xr BIO_s_mem 3 145.Xr BIO_s_mem 3
144for details. 146for details.
145.Sh SEE ALSO 147.Sh SEE ALSO
diff --git a/src/lib/libcrypto/man/d2i_PrivateKey.3 b/src/lib/libcrypto/man/d2i_PrivateKey.3
index 73ffa25886..10eb5ebeeb 100644
--- a/src/lib/libcrypto/man/d2i_PrivateKey.3
+++ b/src/lib/libcrypto/man/d2i_PrivateKey.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: d2i_PrivateKey.3,v 1.2 2016/12/06 14:54:55 schwarze Exp $ 1.\" $OpenBSD: d2i_PrivateKey.3,v 1.3 2016/12/08 20:22:08 jmc Exp $
2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
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: December 6 2016 $ 51.Dd $Mdocdate: December 8 2016 $
52.Dt D2I_PRIVATEKEY 3 52.Dt D2I_PRIVATEKEY 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -120,7 +120,7 @@ functions; see
120All these functions use DER format and unencrypted keys. 120All these functions use DER format and unencrypted keys.
121Applications wishing to encrypt or decrypt private keys should use other 121Applications wishing to encrypt or decrypt private keys should use other
122functions such as 122functions such as
123.Xr d2i_PKC8PrivateKey 3 123.Xr d2i_PKCS8PrivateKey_bio 3
124instead. 124instead.
125.Pp 125.Pp
126If 126If
@@ -151,4 +151,4 @@ an error occurs.
151The error code can be obtained by calling 151The error code can be obtained by calling
152.Xr ERR_get_error 3 . 152.Xr ERR_get_error 3 .
153.Sh SEE ALSO 153.Sh SEE ALSO
154.Xr d2i_PKCS8PrivateKey 3 154.Xr d2i_PKCS8PrivateKey_bio 3
diff --git a/src/lib/libcrypto/man/d2i_RSAPublicKey.3 b/src/lib/libcrypto/man/d2i_RSAPublicKey.3
index 0ce5f31aa5..73147e10e6 100644
--- a/src/lib/libcrypto/man/d2i_RSAPublicKey.3
+++ b/src/lib/libcrypto/man/d2i_RSAPublicKey.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: d2i_RSAPublicKey.3,v 1.3 2016/12/05 20:36:19 schwarze Exp $ 1.\" $OpenBSD: d2i_RSAPublicKey.3,v 1.4 2016/12/08 20:22:08 jmc Exp $
2.\" OpenSSL bb9ad09e Jun 6 00:43:05 2016 -0400 2.\" OpenSSL bb9ad09e Jun 6 00:43:05 2016 -0400
3.\" 3.\"
4.\" This file was written by Ulf Moeller <ulf@openssl.org> and 4.\" This file was written by Ulf Moeller <ulf@openssl.org> and
@@ -50,20 +50,20 @@
50.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 50.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
51.\" OF THE POSSIBILITY OF SUCH DAMAGE. 51.\" OF THE POSSIBILITY OF SUCH DAMAGE.
52.\" 52.\"
53.Dd $Mdocdate: December 5 2016 $ 53.Dd $Mdocdate: December 8 2016 $
54.Dt D2I_RSAPUBLICKEY 3 54.Dt D2I_RSAPUBLICKEY 3
55.Os 55.Os
56.Sh NAME 56.Sh NAME
57.Nm d2i_RSAPublicKey , 57.Nm d2i_RSAPublicKey ,
58.Nm i2d_RSAPublicKey , 58.Nm i2d_RSAPublicKey ,
59.Nm d2i_RSAPrivateKey ,
60.Nm i2d_RSAPrivateKey ,
61.Nm d2i_RSA_PUBKEY , 59.Nm d2i_RSA_PUBKEY ,
62.Nm i2d_RSA_PUBKEY , 60.Nm i2d_RSA_PUBKEY ,
63.Nm d2i_RSA_PUBKEY_bio , 61.Nm d2i_RSA_PUBKEY_bio ,
64.Nm d2i_RSA_PUBKEY_fp , 62.Nm d2i_RSA_PUBKEY_fp ,
65.Nm i2d_RSA_PUBKEY_bio , 63.Nm i2d_RSA_PUBKEY_bio ,
66.Nm i2d_RSA_PUBKEY_fp , 64.Nm i2d_RSA_PUBKEY_fp ,
65.Nm d2i_RSAPrivateKey ,
66.Nm i2d_RSAPrivateKey ,
67.Nm i2d_Netscape_RSA , 67.Nm i2d_Netscape_RSA ,
68.Nm d2i_Netscape_RSA 68.Nm d2i_Netscape_RSA
69.Nd RSA public and private key encoding functions 69.Nd RSA public and private key encoding functions
diff --git a/src/lib/libcrypto/man/d2i_X509.3 b/src/lib/libcrypto/man/d2i_X509.3
index 916fdb8005..7ca3abf2d9 100644
--- a/src/lib/libcrypto/man/d2i_X509.3
+++ b/src/lib/libcrypto/man/d2i_X509.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: d2i_X509.3,v 1.3 2016/12/05 20:39:08 schwarze Exp $ 1.\" $OpenBSD: d2i_X509.3,v 1.4 2016/12/08 20:22:08 jmc Exp $
2.\" OpenSSL 94480b57 Sep 12 23:34:41 2009 +0000 2.\" OpenSSL 94480b57 Sep 12 23:34:41 2009 +0000
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>.
@@ -49,12 +49,14 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 51.\"
52.Dd $Mdocdate: December 5 2016 $ 52.Dd $Mdocdate: December 8 2016 $
53.Dt D2I_X509 3 53.Dt D2I_X509 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
56.Nm d2i_X509 , 56.Nm d2i_X509 ,
57.Nm d2i_X509_AUX ,
57.Nm i2d_X509 , 58.Nm i2d_X509 ,
59.Nm i2d_X509_AUX ,
58.Nm d2i_X509_bio , 60.Nm d2i_X509_bio ,
59.Nm d2i_X509_fp , 61.Nm d2i_X509_fp ,
60.Nm i2d_X509_bio , 62.Nm i2d_X509_bio ,
@@ -136,7 +138,7 @@ contains a valid
136.Vt X509 138.Vt X509
137structure and an attempt is made to reuse it. 139structure and an attempt is made to reuse it.
138This "reuse" capability is present for historical compatibility, 140This "reuse" capability is present for historical compatibility,
139but its use is strongly discouraged, see the 141but its use is strongly discouraged; see the
140.Sx BUGS 142.Sx BUGS
141and 143and
142.Sx RETURN VALUES 144.Sx RETURN VALUES
@@ -223,7 +225,7 @@ The letters
223.Sy i 225.Sy i
224and 226and
225.Sy d 227.Sy d
226in for example 228in, for example,
227.Fn i2d_X509 229.Fn i2d_X509
228stand for "internal" (that is an internal C structure) and "DER", 230stand for "internal" (that is an internal C structure) and "DER",
229so that 231so that
@@ -264,8 +266,8 @@ See the
264section for some common errors. 266section for some common errors.
265.Pp 267.Pp
266The reason for the auto increment behaviour is to reflect a typical 268The reason for the auto increment behaviour is to reflect a typical
267usage of ASN1 functions: after one structure is encoded or decoded, 269usage of ASN.1 functions: after one structure is encoded or decoded,
268another will processed after it. 270another will be processed after it.
269.Sh RETURN VALUES 271.Sh RETURN VALUES
270.Fn d2i_X509 , 272.Fn d2i_X509 ,
271.Fn d2i_X509_bio , 273.Fn d2i_X509_bio ,
@@ -308,7 +310,7 @@ p = buf;
308i2d_X509(x, &p); 310i2d_X509(x, &p);
309.Ed 311.Ed
310.Pp 312.Pp
311If you are using OpenSSL 0.9.7 or later then this can be simplified to: 313Using OpenSSL 0.9.7 or later this can be simplified to:
312.Bd -literal -offset indent 314.Bd -literal -offset indent
313int len; 315int len;
314unsigned char *buf; 316unsigned char *buf;
@@ -386,7 +388,7 @@ may well crash.
386The auto allocation feature (setting 388The auto allocation feature (setting
387.Fa buf 389.Fa buf
388to 390to
389.Dv NULL 391.Dv NULL )
390only works on OpenSSL 0.9.7 and later. 392only works on OpenSSL 0.9.7 and later.
391Attempts to use it on earlier versions will typically cause a 393Attempts to use it on earlier versions will typically cause a
392segmentation violation. 394segmentation violation.
diff --git a/src/lib/libcrypto/man/d2i_X509_ALGOR.3 b/src/lib/libcrypto/man/d2i_X509_ALGOR.3
index e4eab2e883..4e2b02400b 100644
--- a/src/lib/libcrypto/man/d2i_X509_ALGOR.3
+++ b/src/lib/libcrypto/man/d2i_X509_ALGOR.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: d2i_X509_ALGOR.3,v 1.3 2016/12/05 20:32:19 schwarze Exp $ 1.\" $OpenBSD: d2i_X509_ALGOR.3,v 1.4 2016/12/08 20:22:08 jmc Exp $
2.\" OpenSSL 186bb907 Apr 13 11:05:13 2015 -0700 2.\" OpenSSL 186bb907 Apr 13 11:05:13 2015 -0700
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: December 5 2016 $ 51.Dd $Mdocdate: December 8 2016 $
52.Dt D2I_X509_ALGOR 3 52.Dt D2I_X509_ALGOR 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -74,8 +74,7 @@ These functions decode and encode an
74structure which is equivalent to the 74structure which is equivalent to the
75.Sy AlgorithmIdentifier 75.Sy AlgorithmIdentifier
76structure. 76structure.
77.Pp 77They otherwise behave in a way similar to
78Otherwise these behave in a way similar to
79.Xr d2i_X509 3 78.Xr d2i_X509 3
80and 79and
81.Xr i2d_X509 3 . 80.Xr i2d_X509 3 .
diff --git a/src/lib/libcrypto/man/d2i_X509_CRL.3 b/src/lib/libcrypto/man/d2i_X509_CRL.3
index dd1abf4586..1c8ca5c6b9 100644
--- a/src/lib/libcrypto/man/d2i_X509_CRL.3
+++ b/src/lib/libcrypto/man/d2i_X509_CRL.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: d2i_X509_CRL.3,v 1.3 2016/12/05 20:32:19 schwarze Exp $ 1.\" $OpenBSD: d2i_X509_CRL.3,v 1.4 2016/12/08 20:22:08 jmc Exp $
2.\" OpenSSL bb9ad09e Jun 6 00:43:05 2016 -0400 2.\" OpenSSL bb9ad09e 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>.
@@ -49,7 +49,7 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 51.\"
52.Dd $Mdocdate: December 5 2016 $ 52.Dd $Mdocdate: December 8 2016 $
53.Dt D2I_X509_CRL 3 53.Dt D2I_X509_CRL 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -96,8 +96,7 @@
96.Sh DESCRIPTION 96.Sh DESCRIPTION
97These functions decode and encode an X509 CRL (certificate revocation 97These functions decode and encode an X509 CRL (certificate revocation
98list). 98list).
99.Pp 99They otherwise behave in a way similar to
100Otherwise the functions behave in a way similar to
101.Xr d2i_X509 3 100.Xr d2i_X509 3
102and 101and
103.Xr i2d_X509 3 . 102.Xr i2d_X509 3 .
diff --git a/src/lib/libcrypto/man/d2i_X509_NAME.3 b/src/lib/libcrypto/man/d2i_X509_NAME.3
index 701c4e31fa..2817a7f3ce 100644
--- a/src/lib/libcrypto/man/d2i_X509_NAME.3
+++ b/src/lib/libcrypto/man/d2i_X509_NAME.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: d2i_X509_NAME.3,v 1.3 2016/12/05 20:32:19 schwarze Exp $ 1.\" $OpenBSD: d2i_X509_NAME.3,v 1.4 2016/12/08 20:22:08 jmc Exp $
2.\" OpenSSL d900a015 Oct 8 14:40:42 2015 +0200 2.\" OpenSSL d900a015 Oct 8 14:40:42 2015 +0200
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: December 5 2016 $ 51.Dd $Mdocdate: December 8 2016 $
52.Dt D2I_X509_NAME 3 52.Dt D2I_X509_NAME 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -71,12 +71,11 @@
71.Sh DESCRIPTION 71.Sh DESCRIPTION
72These functions decode and encode an 72These functions decode and encode an
73.Vt X509_NAME 73.Vt X509_NAME
74structure which is the same as the 74structure, which is the same as the
75.Sy Name 75.Sy Name
76type defined in RFC2459 (and elsewhere) and used for example in 76type defined in RFC 2459 (and elsewhere) and used, for example, in
77certificate subject and issuer names. 77certificate subject and issuer names.
78.Pp 78They otherwise behave in a way similar to
79Otherwise the functions behave in a way similar to
80.Xr d2i_X509 3 79.Xr d2i_X509 3
81and 80and
82.Xr i2d_X509 3 . 81.Xr i2d_X509 3 .
diff --git a/src/lib/libcrypto/man/d2i_X509_REQ.3 b/src/lib/libcrypto/man/d2i_X509_REQ.3
index 26a8fada2c..6c4a61985e 100644
--- a/src/lib/libcrypto/man/d2i_X509_REQ.3
+++ b/src/lib/libcrypto/man/d2i_X509_REQ.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: d2i_X509_REQ.3,v 1.3 2016/12/05 20:32:19 schwarze Exp $ 1.\" $OpenBSD: d2i_X509_REQ.3,v 1.4 2016/12/08 20:22:08 jmc Exp $
2.\" OpenSSL bb9ad09e Jun 6 00:43:05 2016 -0400 2.\" OpenSSL bb9ad09e 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>.
@@ -49,7 +49,7 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 51.\"
52.Dd $Mdocdate: December 5 2016 $ 52.Dd $Mdocdate: December 8 2016 $
53.Dt D2I_X509_REQ 3 53.Dt D2I_X509_REQ 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -95,8 +95,7 @@
95.Fc 95.Fc
96.Sh DESCRIPTION 96.Sh DESCRIPTION
97These functions decode and encode a PKCS#10 certificate request. 97These functions decode and encode a PKCS#10 certificate request.
98.Pp 98They otherwise behave in a way similar to
99Otherwise these behave in a way similar to
100.Xr d2i_X509 3 99.Xr d2i_X509 3
101and 100and
102.Xr i2d_X509 3 . 101.Xr i2d_X509 3 .
diff --git a/src/lib/libcrypto/man/d2i_X509_SIG.3 b/src/lib/libcrypto/man/d2i_X509_SIG.3
index 8c107a8e88..8466ccfe7f 100644
--- a/src/lib/libcrypto/man/d2i_X509_SIG.3
+++ b/src/lib/libcrypto/man/d2i_X509_SIG.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: d2i_X509_SIG.3,v 1.3 2016/12/05 20:32:19 schwarze Exp $ 1.\" $OpenBSD: d2i_X509_SIG.3,v 1.4 2016/12/08 20:22:08 jmc Exp $
2.\" OpenSSL 9b86974e Aug 17 15:21:33 2015 -0400 2.\" OpenSSL 9b86974e Aug 17 15:21:33 2015 -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: December 5 2016 $ 51.Dd $Mdocdate: December 8 2016 $
52.Dt D2I_X509_SIG 3 52.Dt D2I_X509_SIG 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -71,11 +71,10 @@
71.Sh DESCRIPTION 71.Sh DESCRIPTION
72These functions decode and encode an 72These functions decode and encode an
73.Vt X509_SIG 73.Vt X509_SIG
74structure which is equivalent to the 74structure, which is equivalent to the
75.Sy DigestInfo 75.Sy DigestInfo
76structure defined in PKCS#1 and PKCS#7. 76structure defined in PKCS#1 and PKCS#7.
77.Pp 77They otherwise behave in a way similar to
78Otherwise these behave in a way similar to
79.Xr d2i_X509 3 78.Xr d2i_X509 3
80and 79and
81.Xr i2d_X509 3 . 80.Xr i2d_X509 3 .