summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschwarze <>2017-03-25 16:30:10 +0000
committerschwarze <>2017-03-25 16:30:10 +0000
commit880f4156816f562cb91df4affd1f3510f10d1431 (patch)
tree7107a8adcf2c6d4db27cd5b4ecf1b4068dcb026f
parent26c6576f6d03513eeab921eaeb920c7ef042ed43 (diff)
downloadopenbsd-880f4156816f562cb91df4affd1f3510f10d1431.tar.gz
openbsd-880f4156816f562cb91df4affd1f3510f10d1431.tar.bz2
openbsd-880f4156816f562cb91df4affd1f3510f10d1431.zip
document ASN1_tag2str(3); from OpenSSL commit 9e183d22
-rw-r--r--src/lib/libcrypto/man/ASN1_STRING_print_ex.318
1 files changed, 14 insertions, 4 deletions
diff --git a/src/lib/libcrypto/man/ASN1_STRING_print_ex.3 b/src/lib/libcrypto/man/ASN1_STRING_print_ex.3
index 8b9d4821a0..811708d968 100644
--- a/src/lib/libcrypto/man/ASN1_STRING_print_ex.3
+++ b/src/lib/libcrypto/man/ASN1_STRING_print_ex.3
@@ -1,8 +1,9 @@
1.\" $OpenBSD: ASN1_STRING_print_ex.3,v 1.6 2016/12/08 21:48:50 jmc Exp $ 1.\" $OpenBSD: ASN1_STRING_print_ex.3,v 1.7 2017/03/25 16:30:10 schwarze Exp $
2.\" OpenSSL 9e183d22 Sat Mar 11 08:56:44 2017 -0500
2.\" OpenSSL bb9ad09e Mon Jun 6 00:43:05 2016 -0400 3.\" OpenSSL bb9ad09e Mon Jun 6 00:43:05 2016 -0400
3.\" 4.\"
4.\" This file was written by Dr. Stephen Henson. 5.\" This file was written by Dr. Stephen Henson.
5.\" Copyright (c) 2002, 2004, 2007, 2013, 2016 The OpenSSL Project. 6.\" Copyright (c) 2002, 2004, 2007, 2013, 2016, 2017 The OpenSSL Project.
6.\" All rights reserved. 7.\" All rights reserved.
7.\" 8.\"
8.\" Redistribution and use in source and binary forms, with or without 9.\" Redistribution and use in source and binary forms, with or without
@@ -49,13 +50,14 @@
49.\" 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
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 51.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 52.\"
52.Dd $Mdocdate: December 8 2016 $ 53.Dd $Mdocdate: March 25 2017 $
53.Dt ASN1_STRING_PRINT_EX 3 54.Dt ASN1_STRING_PRINT_EX 3
54.Os 55.Os
55.Sh NAME 56.Sh NAME
56.Nm ASN1_STRING_print_ex , 57.Nm ASN1_STRING_print_ex ,
57.Nm ASN1_STRING_print_ex_fp , 58.Nm ASN1_STRING_print_ex_fp ,
58.Nm ASN1_STRING_print 59.Nm ASN1_STRING_print ,
60.Nm ASN1_tag2str
59.Nd ASN1_STRING output routines 61.Nd ASN1_STRING output routines
60.Sh SYNOPSIS 62.Sh SYNOPSIS
61.In openssl/asn1.h 63.In openssl/asn1.h
@@ -76,6 +78,10 @@
76.Fa "BIO *out" 78.Fa "BIO *out"
77.Fa "ASN1_STRING *str" 79.Fa "ASN1_STRING *str"
78.Fc 80.Fc
81.Ft const char *
82.Fo ASN1_tag2str
83.Fa "int tag"
84.Fc
79.Sh DESCRIPTION 85.Sh DESCRIPTION
80These functions output an 86These functions output an
81.Vt ASN1_STRING 87.Vt ASN1_STRING
@@ -106,6 +112,10 @@ but using a different format to
106It replaces unprintable characters (other than CR, LF) with 112It replaces unprintable characters (other than CR, LF) with
107.Sq \&. . 113.Sq \&. .
108.Pp 114.Pp
115.Fn ASN1_tag2str
116returns a human-readable name of the specified ASN.1
117.Fa tag .
118.Pp
109.Fn ASN1_STRING_print 119.Fn ASN1_STRING_print
110is a legacy function which should be avoided in new 120is a legacy function which should be avoided in new
111applications. 121applications.