summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorschwarze <>2017-03-25 18:35:33 +0000
committerschwarze <>2017-03-25 18:35:33 +0000
commitf3f4487694f748f10f7be220832045a6c2dfc53c (patch)
tree18cb8da1323d5eee49382d47da866261fcaba7e1 /src/lib
parent5cb75ef0042f89786b83aceac4fbf1c10c617ed4 (diff)
downloadopenbsd-f3f4487694f748f10f7be220832045a6c2dfc53c.tar.gz
openbsd-f3f4487694f748f10f7be220832045a6c2dfc53c.tar.bz2
openbsd-f3f4487694f748f10f7be220832045a6c2dfc53c.zip
correct RETURN VALUES;
from Richard Levitte <levitte@openssl.org>, OpenSSL commit cdd6c8c5
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/man/X509_CRL_get0_by_serial.320
1 files changed, 13 insertions, 7 deletions
diff --git a/src/lib/libcrypto/man/X509_CRL_get0_by_serial.3 b/src/lib/libcrypto/man/X509_CRL_get0_by_serial.3
index ad8f543b4c..b5d8c8d9d5 100644
--- a/src/lib/libcrypto/man/X509_CRL_get0_by_serial.3
+++ b/src/lib/libcrypto/man/X509_CRL_get0_by_serial.3
@@ -1,8 +1,8 @@
1.\" $OpenBSD: X509_CRL_get0_by_serial.3,v 1.4 2017/01/06 19:34:22 schwarze Exp $ 1.\" $OpenBSD: X509_CRL_get0_by_serial.3,v 1.5 2017/03/25 18:35:33 schwarze Exp $
2.\" OpenSSL X509_CRL_get0_by_serial.pod 99d63d46 Oct 26 13:56:48 2016 -0400 2.\" OpenSSL X509_CRL_get0_by_serial.pod cdd6c8c5 Mar 20 12:29:37 2017 +0100
3.\" 3.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
5.\" Copyright (c) 2015 The OpenSSL Project. All rights reserved. 5.\" Copyright (c) 2015, 2017 The OpenSSL Project. All rights reserved.
6.\" 6.\"
7.\" Redistribution and use in source and binary forms, with or without 7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions 8.\" modification, are permitted provided that the following conditions
@@ -48,7 +48,7 @@
48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 49.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 50.\"
51.Dd $Mdocdate: January 6 2017 $ 51.Dd $Mdocdate: March 25 2017 $
52.Dt X509_CRL_GET0_BY_SERIAL 3 52.Dt X509_CRL_GET0_BY_SERIAL 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -134,9 +134,15 @@ and examine each one in turn using
134both defined in 134both defined in
135.In openssl/safestack.h . 135.In openssl/safestack.h .
136.Sh RETURN VALUES 136.Sh RETURN VALUES
137.Fn X509_CRL_get0_by_serial , 137.Fn X509_CRL_get0_by_serial
138.Fn X509_CRL_get0_by_cert , 138and
139.Fn X509_CRL_add0_revoked , 139.Fn X509_CRL_get0_by_cert
140return 0 for failure or 1 for success, except if the revoked entry
141has the reason
142.Qq removeFromCRL ,
143in which case 2 is returned.
144.Pp
145.Fn X509_CRL_add0_revoked
140and 146and
141.Fn X509_CRL_sort 147.Fn X509_CRL_sort
142return 1 for success or 0 for failure. 148return 1 for success or 0 for failure.