diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2018-08-24 19:23:08 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2018-08-24 19:23:08 +0000 |
commit | 16cefc5b35248dc8be69c18779bf33d5edaeab43 (patch) | |
tree | f6f85c95f6a6f879bd0cf378d5dfc3c283a6305c | |
parent | 611254c803998d79d502aeff0fb169a8c23f2568 (diff) |
Document new prototype and return values of X509_OBJECT_up_ref_count()
ok jsing
-rw-r--r-- | lib/libcrypto/man/X509_OBJECT_get0_X509.3 | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libcrypto/man/X509_OBJECT_get0_X509.3 b/lib/libcrypto/man/X509_OBJECT_get0_X509.3 index 2b716d70906..905146b38f0 100644 --- a/lib/libcrypto/man/X509_OBJECT_get0_X509.3 +++ b/lib/libcrypto/man/X509_OBJECT_get0_X509.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: X509_OBJECT_get0_X509.3,v 1.7 2018/04/02 01:22:03 schwarze Exp $ +.\" $OpenBSD: X509_OBJECT_get0_X509.3,v 1.8 2018/08/24 19:23:07 tb Exp $ .\" Copyright (c) 2018 Ingo Schwarze <schwarze@openbsd.org> .\" .\" Permission to use, copy, modify, and distribute this software for any @@ -13,7 +13,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: April 2 2018 $ +.Dd $Mdocdate: August 24 2018 $ .Dt X509_OBJECT_GET0_X509 3 .Os .Sh NAME @@ -32,7 +32,7 @@ .Fo X509_OBJECT_get_type .Fa "const X509_OBJECT *obj" .Fc -.Ft void +.Ft int .Fo X509_OBJECT_up_ref_count .Fa "X509_OBJECT *obj" .Fc @@ -161,6 +161,9 @@ contains a certificate, if it contains a certificate revocation list, or 0 if an error occurs. .Pp +.Fn X509_OBJECT_up_ref_count +returns 1 on success and 0 on failure. +.Pp .Fn X509_OBJECT_get0_X509 returns an internal pointer to the certificate contained in .Fa obj |