diff options
| author | schwarze <> | 2017-03-25 18:35:33 +0000 |
|---|---|---|
| committer | schwarze <> | 2017-03-25 18:35:33 +0000 |
| commit | b12e019c316e6454748e90c8aa60e85218a3dd49 (patch) | |
| tree | 18cb8da1323d5eee49382d47da866261fcaba7e1 | |
| parent | e1e3b986394bcc79879a220c4ca463ec9a7706ab (diff) | |
| download | openbsd-b12e019c316e6454748e90c8aa60e85218a3dd49.tar.gz openbsd-b12e019c316e6454748e90c8aa60e85218a3dd49.tar.bz2 openbsd-b12e019c316e6454748e90c8aa60e85218a3dd49.zip | |
correct RETURN VALUES;
from Richard Levitte <levitte@openssl.org>, OpenSSL commit cdd6c8c5
| -rw-r--r-- | src/lib/libcrypto/man/X509_CRL_get0_by_serial.3 | 20 |
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 | |||
| 134 | both defined in | 134 | both 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 , | 138 | and |
| 139 | .Fn X509_CRL_add0_revoked , | 139 | .Fn X509_CRL_get0_by_cert |
| 140 | return 0 for failure or 1 for success, except if the revoked entry | ||
| 141 | has the reason | ||
| 142 | .Qq removeFromCRL , | ||
| 143 | in which case 2 is returned. | ||
| 144 | .Pp | ||
| 145 | .Fn X509_CRL_add0_revoked | ||
| 140 | and | 146 | and |
| 141 | .Fn X509_CRL_sort | 147 | .Fn X509_CRL_sort |
| 142 | return 1 for success or 0 for failure. | 148 | return 1 for success or 0 for failure. |
