summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2016-12-14 16:20:29 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2016-12-14 16:20:29 +0000
commit5e72a9d3c262b386e9f15726b59ebb872caf1048 (patch)
tree8bab3f1fabf49e2f00809f496e586e907f8e9818
parent41c594bb17cd3f92be08bd71b990efe58c89e419 (diff)
Make sure all manual pages discussing X509_NAME objects
reference X509_NAME_new(3). Sparingly add a few other references to relevant X509_NAME*(3) pages while here.
-rw-r--r--lib/libcrypto/man/OCSP_SERVICELOC_new.38
-rw-r--r--lib/libcrypto/man/OCSP_cert_to_id.38
-rw-r--r--lib/libcrypto/man/X509_NAME_add_entry_by_txt.38
-rw-r--r--lib/libcrypto/man/X509_NAME_get_index_by_NID.37
-rw-r--r--lib/libcrypto/man/X509_NAME_print_ex.39
-rw-r--r--lib/libcrypto/man/X509_get_subject_name.37
-rw-r--r--lib/libssl/man/SSL_CTX_set_client_CA_list.37
-rw-r--r--lib/libssl/man/SSL_dup_CA_list.37
-rw-r--r--lib/libssl/man/SSL_get_client_CA_list.37
-rw-r--r--lib/libssl/man/SSL_load_client_CA_file.37
10 files changed, 45 insertions, 30 deletions
diff --git a/lib/libcrypto/man/OCSP_SERVICELOC_new.3 b/lib/libcrypto/man/OCSP_SERVICELOC_new.3
index ad0660a9bc9..14a2a75f885 100644
--- a/lib/libcrypto/man/OCSP_SERVICELOC_new.3
+++ b/lib/libcrypto/man/OCSP_SERVICELOC_new.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: OCSP_SERVICELOC_new.3,v 1.2 2016/12/13 12:59:36 jmc Exp $
+.\" $OpenBSD: OCSP_SERVICELOC_new.3,v 1.3 2016/12/14 16:20:28 schwarze Exp $
.\"
.\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: December 13 2016 $
+.Dd $Mdocdate: December 14 2016 $
.Dt OCSP_SERVICELOC_NEW 3
.Os
.Sh NAME
@@ -85,7 +85,9 @@ object or
.Dv NULL
if an error occurred.
.Sh SEE ALSO
-.Xr OCSP_REQUEST_new 3
+.Xr OCSP_REQUEST_new 3 ,
+.Xr X509_get_issuer_name 3 ,
+.Xr X509_NAME_new 3
.Sh STANDARDS
RFC 6960: X.509 Internet Public Key Infrastructure Online Certificate
Status Protocol, section 4.4.6: Service Locator
diff --git a/lib/libcrypto/man/OCSP_cert_to_id.3 b/lib/libcrypto/man/OCSP_cert_to_id.3
index c1ba1f59baa..103b9a4a9f7 100644
--- a/lib/libcrypto/man/OCSP_cert_to_id.3
+++ b/lib/libcrypto/man/OCSP_cert_to_id.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: OCSP_cert_to_id.3,v 1.4 2016/12/12 20:41:48 schwarze Exp $
+.\" $OpenBSD: OCSP_cert_to_id.3,v 1.5 2016/12/14 16:20:28 schwarze Exp $
.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
.\"
.\" This file is a derived work.
@@ -65,7 +65,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: December 12 2016 $
+.Dd $Mdocdate: December 14 2016 $
.Dt OCSP_CERT_TO_ID 3
.Os
.Sh NAME
@@ -216,7 +216,9 @@ returns 1 for success or 0 for failure.
.Xr OCSP_REQUEST_new 3 ,
.Xr OCSP_resp_find_status 3 ,
.Xr OCSP_response_status 3 ,
-.Xr OCSP_sendreq_new 3
+.Xr OCSP_sendreq_new 3 ,
+.Xr X509_get_issuer_name 3 ,
+.Xr X509_NAME_new 3
.Sh STANDARDS
RFC 6960: X.509 Internet Public Key Infrastructure Online Certificate
Status Protocol, section 4: Details of the Protocol
diff --git a/lib/libcrypto/man/X509_NAME_add_entry_by_txt.3 b/lib/libcrypto/man/X509_NAME_add_entry_by_txt.3
index bd5dd5d212d..6260e5f3455 100644
--- a/lib/libcrypto/man/X509_NAME_add_entry_by_txt.3
+++ b/lib/libcrypto/man/X509_NAME_add_entry_by_txt.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: X509_NAME_add_entry_by_txt.3,v 1.4 2016/12/05 12:09:32 schwarze Exp $
+.\" $OpenBSD: X509_NAME_add_entry_by_txt.3,v 1.5 2016/12/14 16:20:28 schwarze Exp $
.\" OpenSSL aebb9aac Jul 19 09:27:53 2016 -0400
.\"
.\" This file was written by Dr. Stephen Henson <steve@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 5 2016 $
+.Dd $Mdocdate: December 14 2016 $
.Dt X509_NAME_ADD_ENTRY_BY_TXT 3
.Os
.Sh NAME
@@ -252,7 +252,9 @@ if (!X509_NAME_add_entry_by_txt(nm, "CN", MBSTRING_ASC,
.Ed
.Sh SEE ALSO
.Xr d2i_X509_NAME 3 ,
-.Xr ERR_get_error 3
+.Xr ERR_get_error 3 ,
+.Xr X509_NAME_get_index_by_NID 3 ,
+.Xr X509_NAME_new 3
.Sh BUGS
.Fa type
can still be set to
diff --git a/lib/libcrypto/man/X509_NAME_get_index_by_NID.3 b/lib/libcrypto/man/X509_NAME_get_index_by_NID.3
index 0f3adbc081c..6da06618312 100644
--- a/lib/libcrypto/man/X509_NAME_get_index_by_NID.3
+++ b/lib/libcrypto/man/X509_NAME_get_index_by_NID.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: X509_NAME_get_index_by_NID.3,v 1.4 2016/12/05 12:11:26 schwarze Exp $
+.\" $OpenBSD: X509_NAME_get_index_by_NID.3,v 1.5 2016/12/14 16:20:28 schwarze Exp $
.\" OpenSSL aebb9aac Jul 19 09:27:53 2016 -0400
.\"
.\" This file was written by Dr. Stephen Henson <steve@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 5 2016 $
+.Dd $Mdocdate: December 14 2016 $
.Dt X509_NAME_GET_INDEX_BY_NID 3
.Os
.Sh NAME
@@ -225,7 +225,8 @@ for (;;) {
.Ed
.Sh SEE ALSO
.Xr d2i_X509_NAME 3 ,
-.Xr ERR_get_error 3
+.Xr ERR_get_error 3 ,
+.Xr X509_NAME_new 3
.Sh CAVEATS
.Fn X509_NAME_get_text_by_NID
and
diff --git a/lib/libcrypto/man/X509_NAME_print_ex.3 b/lib/libcrypto/man/X509_NAME_print_ex.3
index 6a7ba33933a..0e3ef112842 100644
--- a/lib/libcrypto/man/X509_NAME_print_ex.3
+++ b/lib/libcrypto/man/X509_NAME_print_ex.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: X509_NAME_print_ex.3,v 1.4 2016/12/05 12:12:59 schwarze Exp $
+.\" $OpenBSD: X509_NAME_print_ex.3,v 1.5 2016/12/14 16:20:28 schwarze Exp $
.\" OpenSSL aebb9aac Jul 19 09:27:53 2016 -0400
.\"
.\" This file was written by Dr. Stephen Henson <steve@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 5 2016 $
+.Dd $Mdocdate: December 14 2016 $
.Dt X509_NAME_PRINT_EX 3
.Os
.Sh NAME
@@ -249,4 +249,7 @@ in fact it calls
.Fn X509_NAME_print
internally.
.Sh SEE ALSO
-.Xr ASN1_STRING_print_ex 3
+.Xr ASN1_STRING_print_ex 3 ,
+.Xr d2i_X509_NAME 3 ,
+.Xr X509_NAME_get_index_by_NID 3 ,
+.Xr X509_NAME_new 3
diff --git a/lib/libcrypto/man/X509_get_subject_name.3 b/lib/libcrypto/man/X509_get_subject_name.3
index 1b5814286f3..0fb2624fe32 100644
--- a/lib/libcrypto/man/X509_get_subject_name.3
+++ b/lib/libcrypto/man/X509_get_subject_name.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: X509_get_subject_name.3,v 1.1 2016/12/05 18:24:08 schwarze Exp $
+.\" $OpenBSD: X509_get_subject_name.3,v 1.2 2016/12/14 16:20:28 schwarze Exp $
.\" OpenSSL 0ad69cd6 Jun 14 23:02:16 2016 +0200
.\"
.\" This file was written by Dr. Stephen Henson <steve@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: December 5 2016 $
+.Dd $Mdocdate: December 14 2016 $
.Dt X509_GET_SUBJECT_NAME 3
.Os
.Sh NAME
@@ -155,13 +155,14 @@ and
.Fn X509_CRL_set_issuer_name
return 1 for success or 0 for failure.
.Sh SEE ALSO
-.Xr d2i_X509 3 ,
+.Xr d2i_X509_NAME 3 ,
.Xr ERR_get_error 3 ,
.Xr X509_CRL_get0_by_serial 3 ,
.Xr X509_get_pubkey 3 ,
.Xr X509_NAME_add_entry_by_txt 3 ,
.Xr X509_NAME_ENTRY_get_object 3 ,
.Xr X509_NAME_get_index_by_NID 3 ,
+.Xr X509_NAME_new 3 ,
.Xr X509_NAME_print_ex 3 ,
.Xr X509_new 3 ,
.Xr X509_sign 3 ,
diff --git a/lib/libssl/man/SSL_CTX_set_client_CA_list.3 b/lib/libssl/man/SSL_CTX_set_client_CA_list.3
index 88e5cd5185a..73924b0809e 100644
--- a/lib/libssl/man/SSL_CTX_set_client_CA_list.3
+++ b/lib/libssl/man/SSL_CTX_set_client_CA_list.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: SSL_CTX_set_client_CA_list.3,v 1.2 2016/11/30 17:26:09 schwarze Exp $
+.\" $OpenBSD: SSL_CTX_set_client_CA_list.3,v 1.3 2016/12/14 16:20:28 schwarze Exp $
.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
.\"
.\" This file was written by Lutz Jaenicke <jaenicke@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 30 2016 $
+.Dd $Mdocdate: December 14 2016 $
.Dt SSL_CTX_SET_CLIENT_CA_LIST 3
.Os
.Sh NAME
@@ -176,4 +176,5 @@ SSL_CTX_set_client_CA_list(ctx, SSL_load_client_CA_file(CAfile));
.Xr ssl 3 ,
.Xr SSL_CTX_load_verify_locations 3 ,
.Xr SSL_get_client_CA_list 3 ,
-.Xr SSL_load_client_CA_file 3
+.Xr SSL_load_client_CA_file 3 ,
+.Xr X509_NAME_new 3
diff --git a/lib/libssl/man/SSL_dup_CA_list.3 b/lib/libssl/man/SSL_dup_CA_list.3
index ef8f1ce7203..d6f1add686a 100644
--- a/lib/libssl/man/SSL_dup_CA_list.3
+++ b/lib/libssl/man/SSL_dup_CA_list.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: SSL_dup_CA_list.3,v 1.1 2016/12/07 15:14:34 schwarze Exp $
+.\" $OpenBSD: SSL_dup_CA_list.3,v 1.2 2016/12/14 16:20:28 schwarze Exp $
.\"
.\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: December 7 2016 $
+.Dd $Mdocdate: December 14 2016 $
.Dt SSL_DUP_CA_LIST 3
.Os
.Sh NAME
@@ -45,7 +45,8 @@ on failure.
.Sh SEE ALSO
.Xr SSL_CTX_set_client_CA_list 3 ,
.Xr SSL_get_client_CA_list 3 ,
-.Xr SSL_load_client_CA_file 3
+.Xr SSL_load_client_CA_file 3 ,
+.Xr X509_NAME_new 3
.Sh HISTORY
.Fn SSL_dup_CA_list
is available in all versions of OpenSSL.
diff --git a/lib/libssl/man/SSL_get_client_CA_list.3 b/lib/libssl/man/SSL_get_client_CA_list.3
index ad8c1a077b9..66d6cf59761 100644
--- a/lib/libssl/man/SSL_get_client_CA_list.3
+++ b/lib/libssl/man/SSL_get_client_CA_list.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: SSL_get_client_CA_list.3,v 1.2 2016/12/03 09:03:43 schwarze Exp $
+.\" $OpenBSD: SSL_get_client_CA_list.3,v 1.3 2016/12/14 16:20:28 schwarze Exp $
.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
.\"
.\" This file was written by Lutz Jaenicke <jaenicke@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 3 2016 $
+.Dd $Mdocdate: December 14 2016 $
.Dt SSL_GET_CLIENT_CA_LIST 3
.Os
.Sh NAME
@@ -86,4 +86,5 @@ returns the list of client CAs sent from the server, if any.
.Sh SEE ALSO
.Xr ssl 3 ,
.Xr SSL_CTX_set_client_CA_list 3 ,
-.Xr SSL_CTX_set_client_cert_cb 3
+.Xr SSL_CTX_set_client_cert_cb 3 ,
+.Xr X509_NAME_new 3
diff --git a/lib/libssl/man/SSL_load_client_CA_file.3 b/lib/libssl/man/SSL_load_client_CA_file.3
index 4eab59ff6ee..7f71d7b82aa 100644
--- a/lib/libssl/man/SSL_load_client_CA_file.3
+++ b/lib/libssl/man/SSL_load_client_CA_file.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: SSL_load_client_CA_file.3,v 1.3 2016/12/07 14:38:43 schwarze Exp $
+.\" $OpenBSD: SSL_load_client_CA_file.3,v 1.4 2016/12/14 16:20:28 schwarze Exp $
.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
.\"
.\" This file is a derived work.
@@ -65,7 +65,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: December 7 2016 $
+.Dd $Mdocdate: December 14 2016 $
.Dt SSL_LOAD_CLIENT_CA_FILE 3
.Os
.Sh NAME
@@ -142,7 +142,8 @@ else
.Sh SEE ALSO
.Xr PEM_read_bio_X509 3 ,
.Xr SSL_CTX_set_client_CA_list 3 ,
-.Xr X509_get_subject_name 3
+.Xr X509_get_subject_name 3 ,
+.Xr X509_NAME_new 3
.Sh HISTORY
.Fn SSL_add_file_cert_subjects_to_stack
and