summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmc <>2016-12-12 22:02:55 +0000
committerjmc <>2016-12-12 22:02:55 +0000
commitd9e7f6c929cacb184976d2c298bcbd059299393f (patch)
tree4a20a5f9e884936a67c849ee14b4af49a72a2364
parent88d745522b5af8342f83892d9f4baf86ce252a70 (diff)
downloadopenbsd-d9e7f6c929cacb184976d2c298bcbd059299393f.tar.gz
openbsd-d9e7f6c929cacb184976d2c298bcbd059299393f.tar.bz2
openbsd-d9e7f6c929cacb184976d2c298bcbd059299393f.zip
various cleanup;
-rw-r--r--src/lib/libcrypto/man/X509_new.36
-rw-r--r--src/lib/libcrypto/man/openssl.cnf.520
-rw-r--r--src/lib/libcrypto/man/x509.38
-rw-r--r--src/lib/libcrypto/man/x509v3.cnf.517
4 files changed, 26 insertions, 25 deletions
diff --git a/src/lib/libcrypto/man/X509_new.3 b/src/lib/libcrypto/man/X509_new.3
index 2cc4ddd7b6..605d1db7be 100644
--- a/src/lib/libcrypto/man/X509_new.3
+++ b/src/lib/libcrypto/man/X509_new.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: X509_new.3,v 1.5 2016/12/05 19:41:46 jmc Exp $ 1.\" $OpenBSD: X509_new.3,v 1.6 2016/12/12 22:02:55 jmc Exp $
2.\" OpenSSL 3a59ad98 Dec 11 00:36:06 2015 +0000 2.\" OpenSSL 3a59ad98 Dec 11 00:36:06 2015 +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>.
@@ -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 12 2016 $
52.Dt X509_NEW 3 52.Dt X509_NEW 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -74,7 +74,7 @@ The X509 ASN.1 allocation routines allocate and free an
74structure, which represents an X509 certificate. 74structure, which represents an X509 certificate.
75.Pp 75.Pp
76.Fn X509_new 76.Fn X509_new
77allocates and initializes a X509 structure with reference count 1. 77allocates and initializes an X509 structure with reference count 1.
78.Pp 78.Pp
79.Fn X509_free 79.Fn X509_free
80decrements the reference count of the 80decrements the reference count of the
diff --git a/src/lib/libcrypto/man/openssl.cnf.5 b/src/lib/libcrypto/man/openssl.cnf.5
index 2826b779ba..1d8ee2d430 100644
--- a/src/lib/libcrypto/man/openssl.cnf.5
+++ b/src/lib/libcrypto/man/openssl.cnf.5
@@ -1,4 +1,4 @@
1.\" $OpenBSD: openssl.cnf.5,v 1.1 2016/12/11 18:06:09 schwarze Exp $ 1.\" $OpenBSD: openssl.cnf.5,v 1.2 2016/12/12 22:02:55 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>.
@@ -49,14 +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 11 2016 $ 52.Dd $Mdocdate: December 12 2016 $
53.Dt OPENSSL.CNF 5 53.Dt OPENSSL.CNF 5
54.Os 54.Os
55.Sh NAME 55.Sh NAME
56.Nm openssl.cnf 56.Nm openssl.cnf
57.Nd OpenSSL configuration files 57.Nd OpenSSL configuration files
58.Sh DESCRIPTION 58.Sh DESCRIPTION
59The OpenSSL CONF library can be used to read configuration files, see 59The OpenSSL CONF library can be used to read configuration files; see
60.Xr CONF_modules_load_file 3 . 60.Xr CONF_modules_load_file 3 .
61It is used for the OpenSSL master configuration file 61It is used for the OpenSSL master configuration file
62.Pa /etc/ssl/openssl.cnf 62.Pa /etc/ssl/openssl.cnf
@@ -163,12 +163,12 @@ to use an alternative configuration file.
163To enable library configuration, the default section needs to contain 163To enable library configuration, the default section needs to contain
164an appropriate line which points to the main configuration section. 164an appropriate line which points to the main configuration section.
165The default name is 165The default name is
166.Ic openssl_conf 166.Ic openssl_conf ,
167which is used by the 167which is used by the
168.Xr openssl 1 168.Xr openssl 1
169utility. 169utility.
170Other applications may use an alternative name such as 170Other applications may use an alternative name such as
171.Sy myapplicaton_conf . 171.Sy myapplication_conf .
172.Pp 172.Pp
173The configuration section should consist of a set of name value pairs 173The configuration section should consist of a set of name value pairs
174which contain specific module configuration information. 174which contain specific module configuration information.
@@ -200,7 +200,7 @@ The features of each configuration module are described below.
200This module has the name 200This module has the name
201.Ic oid_section . 201.Ic oid_section .
202The value of this variable points to a section containing name value 202The value of this variable points to a section containing name value
203pairs of OIDs: the name is the OID short and long name, the value is the 203pairs of OIDs: the name is the OID short and long name, and the value is the
204numerical form of the OID. 204numerical form of the OID.
205Although some of the 205Although some of the
206.Xr openssl 1 206.Xr openssl 1
@@ -236,7 +236,7 @@ below) and further sections containing configuration information
236specific to each ENGINE. 236specific to each ENGINE.
237.Pp 237.Pp
238Each ENGINE specific section is used to set default algorithms, load 238Each ENGINE specific section is used to set default algorithms, load
239dynamic, perform initialization and send ctrls. 239dynamic ENGINEs, perform initialization and send ctrls.
240The actual operation performed depends on the command 240The actual operation performed depends on the command
241name which is the name of the name value pair. 241name which is the name of the name value pair.
242The currently supported commands are listed below. 242The currently supported commands are listed below.
@@ -280,9 +280,9 @@ with the path argument followed by
280.Sy LIST_ADD 280.Sy LIST_ADD
281with value 2 and 281with value 2 and
282.Sy LOAD 282.Sy LOAD
283to the dynamic ENGINE. If this is not the required behaviour then 283to the dynamic ENGINE.
284alternative ctrls can be sent directly to the dynamic ENGINE using ctrl 284If this is not the required behaviour then alternative ctrls can be sent
285commands. 285directly to the dynamic ENGINE using ctrl commands.
286.Pp 286.Pp
287The command 287The command
288.Ic init 288.Ic init
diff --git a/src/lib/libcrypto/man/x509.3 b/src/lib/libcrypto/man/x509.3
index 3d2aadb166..51650ca074 100644
--- a/src/lib/libcrypto/man/x509.3
+++ b/src/lib/libcrypto/man/x509.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: x509.3,v 1.4 2016/12/08 21:48:50 jmc Exp $ 1.\" $OpenBSD: x509.3,v 1.5 2016/12/12 22:02:55 jmc Exp $
2.\" OpenSSL a9c85cea Nov 11 09:33:55 2016 +0100 2.\" OpenSSL a9c85cea Nov 11 09:33:55 2016 +0100
3.\" 3.\"
4.\" This file was written by Richard Levitte <levitte@openssl.org> 4.\" This file was written by Richard Levitte <levitte@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 8 2016 $ 51.Dd $Mdocdate: December 12 2016 $
52.Dt X509 3 52.Dt X509 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -57,9 +57,9 @@
57.Sh SYNOPSIS 57.Sh SYNOPSIS
58.In openssl/x509.h 58.In openssl/x509.h
59.Sh DESCRIPTION 59.Sh DESCRIPTION
60A X.509 certificate is a structured grouping of information about an 60An X.509 certificate is a structured grouping of information about an
61individual, a device, or anything one can imagine. 61individual, a device, or anything one can imagine.
62A X.509 CRL (certificate revocation list) is a tool to help determine if 62An X.509 CRL (certificate revocation list) is a tool to help determine if
63a certificate is still valid. 63a certificate is still valid.
64The exact definition of those can be found in the X.509 document from 64The exact definition of those can be found in the X.509 document from
65ITU-T, or in RFC 3280 from PKIX. 65ITU-T, or in RFC 3280 from PKIX.
diff --git a/src/lib/libcrypto/man/x509v3.cnf.5 b/src/lib/libcrypto/man/x509v3.cnf.5
index 22e013a87e..1fd4c0cc9f 100644
--- a/src/lib/libcrypto/man/x509v3.cnf.5
+++ b/src/lib/libcrypto/man/x509v3.cnf.5
@@ -1,4 +1,4 @@
1.\" $OpenBSD: x509v3.cnf.5,v 1.1 2016/12/11 18:06:09 schwarze Exp $ 1.\" $OpenBSD: x509v3.cnf.5,v 1.2 2016/12/12 22:02:55 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>.
@@ -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 11 2016 $ 52.Dd $Mdocdate: December 12 2016 $
53.Dt X509V3.CNF 5 53.Dt X509V3.CNF 5
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -108,7 +108,7 @@ The correct syntax to use is defined by the extension code itself:
108check out the certificate policies extension for an example. 108check out the certificate policies extension for an example.
109.Pp 109.Pp
110If an extension type is unsupported, then the arbitrary extension 110If an extension type is unsupported, then the arbitrary extension
111syntax must be used, see the 111syntax must be used; see the
112.Sx ARBITRARY EXTENSIONS 112.Sx ARBITRARY EXTENSIONS
113section for more details. 113section for more details.
114.Sh STANDARD EXTENSIONS 114.Sh STANDARD EXTENSIONS
@@ -267,7 +267,7 @@ These include
267.Pp 267.Pp
268The 268The
269.Ic email 269.Ic email
270option include a special 270option can include a special
271.Cm copy 271.Cm copy
272value. 272value.
273This will automatically include any email addresses contained in the 273This will automatically include any email addresses contained in the
@@ -421,7 +421,7 @@ are not recognized.
421.Pp 421.Pp
422The name 422The name
423.Ic onlysomereasons 423.Ic onlysomereasons
424is accepted which sets this field. 424is accepted, which sets this field.
425The value is in the same format as the CRL distribution point 425The value is in the same format as the CRL distribution point
426.Ic reasons 426.Ic reasons
427field. 427field.
@@ -457,7 +457,7 @@ This is a raw extension.
457All the fields of this extension can be set by using the appropriate 457All the fields of this extension can be set by using the appropriate
458syntax. 458syntax.
459.Pp 459.Pp
460If you follow the PKIX recommendations and just using one OID, then you 460If you follow the PKIX recommendations and just use one OID, then you
461just include the value of that OID. 461just include the value of that OID.
462Multiple OIDs can be set separated by commas, for example: 462Multiple OIDs can be set separated by commas, for example:
463.Pp 463.Pp
@@ -493,6 +493,7 @@ options.
493and 493and
494.Ic organization 494.Ic organization
495are text strings, 495are text strings,
496and
496.Ic noticeNumbers 497.Ic noticeNumbers
497is a comma separated list of numbers. 498is a comma separated list of numbers.
498The 499The
@@ -553,7 +554,7 @@ The name constraints extension is a multi-valued extension.
553The name should begin with the word 554The name should begin with the word
554.Cm permitted 555.Cm permitted
555or 556or
556.Cm excluded 557.Cm excluded ,
557followed by a semicolon. 558followed by a semicolon.
558The rest of the name and the value follows the syntax of subjectAltName 559The rest of the name and the value follows the syntax of subjectAltName
559except 560except
@@ -590,7 +591,7 @@ Example:
590.Pp 591.Pp
591.Dl tlsfeature = status_request 592.Dl tlsfeature = status_request
592.Sh DEPRECATED EXTENSIONS 593.Sh DEPRECATED EXTENSIONS
593The following extensions are non standard, Netscape specific and largely 594The following extensions are non-standard, Netscape specific and largely
594obsolete. 595obsolete.
595Their use in new applications is discouraged. 596Their use in new applications is discouraged.
596.Ss Netscape string extensions 597.Ss Netscape string extensions