summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschwarze <>2021-12-09 18:45:45 +0000
committerschwarze <>2021-12-09 18:45:45 +0000
commit3aa9811f9c99d8b0b4ceae5e5225b938a4d6e5e1 (patch)
tree55faaac62c8874f66f4e290333c89eb214607d21 /src
parentb05653a8582b827b38cf259548b3d61c9f8a458e (diff)
downloadopenbsd-3aa9811f9c99d8b0b4ceae5e5225b938a4d6e5e1.tar.gz
openbsd-3aa9811f9c99d8b0b4ceae5e5225b938a4d6e5e1.tar.bz2
openbsd-3aa9811f9c99d8b0b4ceae5e5225b938a4d6e5e1.zip
document V_ASN1_NEG
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/man/ASN1_STRING_length.313
1 files changed, 10 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/ASN1_STRING_length.3 b/src/lib/libcrypto/man/ASN1_STRING_length.3
index 83b6ffdd2f..e7e78677fb 100644
--- a/src/lib/libcrypto/man/ASN1_STRING_length.3
+++ b/src/lib/libcrypto/man/ASN1_STRING_length.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ASN1_STRING_length.3,v 1.27 2021/11/20 11:49:08 schwarze Exp $ 1.\" $OpenBSD: ASN1_STRING_length.3,v 1.28 2021/12/09 18:45:45 schwarze Exp $
2.\" full merge up to: OpenSSL 24a535ea Sep 22 13:14:20 2020 +0100 2.\" full merge up to: OpenSSL 24a535ea Sep 22 13:14:20 2020 +0100
3.\" 3.\"
4.\" This file is a derived work. 4.\" This file is a derived work.
@@ -66,7 +66,7 @@
66.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 66.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
67.\" OF THE POSSIBILITY OF SUCH DAMAGE. 67.\" OF THE POSSIBILITY OF SUCH DAMAGE.
68.\" 68.\"
69.Dd $Mdocdate: November 20 2021 $ 69.Dd $Mdocdate: December 9 2021 $
70.Dt ASN1_STRING_LENGTH 3 70.Dt ASN1_STRING_LENGTH 3
71.Os 71.Os
72.Sh NAME 72.Sh NAME
@@ -276,6 +276,11 @@ should be freed using
276.Fn ASN1_STRING_type 276.Fn ASN1_STRING_type
277returns the type of 277returns the type of
278.Fa x . 278.Fa x .
279If the bit
280.Dv V_ASN1_NEG
281is set in the return value,
282.Fa x
283is an ASN.1 INTEGER or ENUMERATED object with a negative value.
279.Pp 284.Pp
280Almost all ASN.1 types are represented as 285Almost all ASN.1 types are represented as
281.Vt ASN1_STRING 286.Vt ASN1_STRING
@@ -382,7 +387,9 @@ or a negative number if an error occurred.
382.Pp 387.Pp
383.Fn ASN1_STRING_type 388.Fn ASN1_STRING_type
384returns an integer constant, for example 389returns an integer constant, for example
385.Dv V_ASN1_OCTET_STRING . 390.Dv V_ASN1_OCTET_STRING
391or
392.Dv V_ASN1_NEG_INTEGER .
386.Pp 393.Pp
387In some cases of failure of 394In some cases of failure of
388.Fn ASN1_STRING_dup , 395.Fn ASN1_STRING_dup ,