summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/man/X509_CRL_new.334
1 files changed, 29 insertions, 5 deletions
diff --git a/src/lib/libcrypto/man/X509_CRL_new.3 b/src/lib/libcrypto/man/X509_CRL_new.3
index 2f35b100cb..31f85113a5 100644
--- a/src/lib/libcrypto/man/X509_CRL_new.3
+++ b/src/lib/libcrypto/man/X509_CRL_new.3
@@ -1,6 +1,6 @@
1.\" $OpenBSD: X509_CRL_new.3,v 1.3 2016/12/25 22:15:10 schwarze Exp $ 1.\" $OpenBSD: X509_CRL_new.3,v 1.4 2018/02/25 09:49:08 schwarze Exp $
2.\" 2.\"
3.\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org> 3.\" Copyright (c) 2016, 2018 Ingo Schwarze <schwarze@openbsd.org>
4.\" 4.\"
5.\" Permission to use, copy, modify, and distribute this software for any 5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above 6.\" purpose with or without fee is hereby granted, provided that the above
@@ -14,11 +14,13 @@
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\" 16.\"
17.Dd $Mdocdate: December 25 2016 $ 17.Dd $Mdocdate: February 25 2018 $
18.Dt X509_CRL_NEW 3 18.Dt X509_CRL_NEW 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
21.Nm X509_CRL_new , 21.Nm X509_CRL_new ,
22.Nm X509_CRL_dup ,
23.Nm X509_CRL_up_ref ,
22.Nm X509_CRL_free , 24.Nm X509_CRL_free ,
23.Nm X509_CRL_INFO_new , 25.Nm X509_CRL_INFO_new ,
24.Nm X509_CRL_INFO_free 26.Nm X509_CRL_INFO_free
@@ -27,6 +29,10 @@
27.In openssl/x509.h 29.In openssl/x509.h
28.Ft X509_CRL * 30.Ft X509_CRL *
29.Fn X509_CRL_new void 31.Fn X509_CRL_new void
32.Ft X509_CRL *
33.Fn X509_CRL_dup "X509_CRL *crl"
34.Ft int
35.Fn X509_CRL_up_ref "X509_CRL *crl"
30.Ft void 36.Ft void
31.Fn X509_CRL_free "X509_CRL *crl" 37.Fn X509_CRL_free "X509_CRL *crl"
32.Ft X509_CRL_INFO * 38.Ft X509_CRL_INFO *
@@ -44,8 +50,22 @@ It can hold a pointer to an
44.Vt X509_CRL_INFO 50.Vt X509_CRL_INFO
45object discussed below together with a cryptographic signature 51object discussed below together with a cryptographic signature
46and information about the signature algorithm used. 52and information about the signature algorithm used.
53The reference count is set to 1.
54.Pp
55.Fn X509_CRL_dup
56creates a deep copy of
57.Fa crl .
58.Pp
59.Fn X509_CRL_up_ref
60increments the reference count of
61.Fa crl
62by 1.
63.Pp
47.Fn X509_CRL_free 64.Fn X509_CRL_free
48frees 65decrements the reference count of
66.Fa crl
67by 1.
68If the reference count reaches 0, it frees
49.Fa crl . 69.Fa crl .
50.Pp 70.Pp
51.Fn X509_CRL_INFO_new 71.Fn X509_CRL_INFO_new
@@ -63,7 +83,8 @@ list is due, and optional extensions.
63frees 83frees
64.Fa crl_info . 84.Fa crl_info .
65.Sh RETURN VALUES 85.Sh RETURN VALUES
66.Fn X509_CRL_new 86.Fn X509_CRL_new ,
87.Fn X509_CRL_dup ,
67and 88and
68.Fn X509_CRL_INFO_new 89.Fn X509_CRL_INFO_new
69return the new 90return the new
@@ -73,6 +94,9 @@ or
73object, respectively, or 94object, respectively, or
74.Dv NULL 95.Dv NULL
75if an error occurs. 96if an error occurs.
97.Pp
98.Fn X509_CRL_up_ref
99returns 1 on success or 0 on error.
76.Sh SEE ALSO 100.Sh SEE ALSO
77.Xr ACCESS_DESCRIPTION_new 3 , 101.Xr ACCESS_DESCRIPTION_new 3 ,
78.Xr AUTHORITY_KEYID_new 3 , 102.Xr AUTHORITY_KEYID_new 3 ,