From 4aa7f598ee869de91c40fa1431d57e95b37617fe Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Wed, 14 Dec 2016 16:20:28 +0000 Subject: 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. --- src/lib/libcrypto/man/OCSP_SERVICELOC_new.3 | 8 +++++--- src/lib/libcrypto/man/OCSP_cert_to_id.3 | 8 +++++--- src/lib/libcrypto/man/X509_NAME_add_entry_by_txt.3 | 8 +++++--- src/lib/libcrypto/man/X509_NAME_get_index_by_NID.3 | 7 ++++--- src/lib/libcrypto/man/X509_NAME_print_ex.3 | 9 ++++++--- src/lib/libcrypto/man/X509_get_subject_name.3 | 7 ++++--- 6 files changed, 29 insertions(+), 18 deletions(-) (limited to 'src/lib/libcrypto/man') diff --git a/src/lib/libcrypto/man/OCSP_SERVICELOC_new.3 b/src/lib/libcrypto/man/OCSP_SERVICELOC_new.3 index ad0660a9bc..14a2a75f88 100644 --- a/src/lib/libcrypto/man/OCSP_SERVICELOC_new.3 +++ b/src/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 .\" @@ -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/src/lib/libcrypto/man/OCSP_cert_to_id.3 b/src/lib/libcrypto/man/OCSP_cert_to_id.3 index c1ba1f59ba..103b9a4a9f 100644 --- a/src/lib/libcrypto/man/OCSP_cert_to_id.3 +++ b/src/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/src/lib/libcrypto/man/X509_NAME_add_entry_by_txt.3 b/src/lib/libcrypto/man/X509_NAME_add_entry_by_txt.3 index bd5dd5d212..6260e5f345 100644 --- a/src/lib/libcrypto/man/X509_NAME_add_entry_by_txt.3 +++ b/src/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 . @@ -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/src/lib/libcrypto/man/X509_NAME_get_index_by_NID.3 b/src/lib/libcrypto/man/X509_NAME_get_index_by_NID.3 index 0f3adbc081..6da0661831 100644 --- a/src/lib/libcrypto/man/X509_NAME_get_index_by_NID.3 +++ b/src/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 . @@ -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/src/lib/libcrypto/man/X509_NAME_print_ex.3 b/src/lib/libcrypto/man/X509_NAME_print_ex.3 index 6a7ba33933..0e3ef11284 100644 --- a/src/lib/libcrypto/man/X509_NAME_print_ex.3 +++ b/src/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 . @@ -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/src/lib/libcrypto/man/X509_get_subject_name.3 b/src/lib/libcrypto/man/X509_get_subject_name.3 index 1b5814286f..0fb2624fe3 100644 --- a/src/lib/libcrypto/man/X509_get_subject_name.3 +++ b/src/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 . @@ -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 , -- cgit v1.2.3-55-g6feb