summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/ASN1_STRING_new.3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/man/ASN1_STRING_new.358
1 files changed, 58 insertions, 0 deletions
diff --git a/src/lib/libcrypto/man/ASN1_STRING_new.3 b/src/lib/libcrypto/man/ASN1_STRING_new.3
new file mode 100644
index 0000000000..cd28b98af6
--- /dev/null
+++ b/src/lib/libcrypto/man/ASN1_STRING_new.3
@@ -0,0 +1,58 @@
1.Dd July 17, 2014
2.Dt ASN1_STRING_NEW 3
3.Os
4.Sh NAME
5.Nm ASN1_STRING_new ,
6.Nm ASN1_STRING_type_new ,
7.Nm ASN1_STRING_free
8.Nd ASN1_STRING allocation functions
9.Sh SYNOPSIS
10.In openssl/asn1.h
11.Ft ASN1_STRING *
12.Fo ASN1_STRING_new
13.Fa void
14.Fc
15.Ft ASN1_STRING *
16.Fo ASN1_STRING_type_new
17.Fa "int type"
18.Fc
19.Ft void
20.Fo ASN1_STRING_free
21.Fa "ASN1_STRING *a"
22.Fc
23.Sh DESCRIPTION
24.Fn ASN1_STRING_new
25returns an allocated
26.Vt ASN1_STRING
27structure.
28Its type is undefined.
29.Pp
30.Fn ASN1_STRING_type_new
31returns an allocated
32.Vt ASN1_STRING
33structure of type
34.Fa type .
35.Pp
36.Fn ASN1_STRING_free
37frees up
38.Fa a .
39.Sh NOTES
40Other string types call the ASN1_STRING functions.
41For example
42.Fn ASN1_OCTET_STRING_new
43calls
44.Fn ASN1_STRING_type V_ASN1_OCTET_STRING .
45.Sh RETURN VALUES
46.Fn ASN1_STRING_new
47and
48.Fn ASN1_STRING_type_new
49return a valid
50.Vt ASN1_STRING
51structure or
52.Dv NULL
53if an error occurred.
54.Pp
55.Fn ASN1_STRING_free
56does not return a value.
57.Sh SEE ALSO
58.Xr ERR_get_error 3