diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-03-25 18:35:34 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-03-25 18:35:34 +0000 |
commit | 64e1755b0bb5ab2e205e7e012bda7af26939d0e9 (patch) | |
tree | 9652372a5b39c006a092301e63a5770cf9cc470e /lib | |
parent | ed03d24d2932b01b9a68dfa7a3cb44ea3379182d (diff) |
correct RETURN VALUES;
from Richard Levitte <levitte@openssl.org>, OpenSSL commit cdd6c8c5
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcrypto/man/X509_CRL_get0_by_serial.3 | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/lib/libcrypto/man/X509_CRL_get0_by_serial.3 b/lib/libcrypto/man/X509_CRL_get0_by_serial.3 index ad8f543b4c1..b5d8c8d9d55 100644 --- a/lib/libcrypto/man/X509_CRL_get0_by_serial.3 +++ b/lib/libcrypto/man/X509_CRL_get0_by_serial.3 @@ -1,8 +1,8 @@ -.\" $OpenBSD: X509_CRL_get0_by_serial.3,v 1.4 2017/01/06 19:34:22 schwarze Exp $ -.\" OpenSSL X509_CRL_get0_by_serial.pod 99d63d46 Oct 26 13:56:48 2016 -0400 +.\" $OpenBSD: X509_CRL_get0_by_serial.3,v 1.5 2017/03/25 18:35:33 schwarze Exp $ +.\" OpenSSL X509_CRL_get0_by_serial.pod cdd6c8c5 Mar 20 12:29:37 2017 +0100 .\" .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. -.\" Copyright (c) 2015 The OpenSSL Project. All rights reserved. +.\" Copyright (c) 2015, 2017 The OpenSSL Project. All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions @@ -48,7 +48,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 6 2017 $ +.Dd $Mdocdate: March 25 2017 $ .Dt X509_CRL_GET0_BY_SERIAL 3 .Os .Sh NAME @@ -134,9 +134,15 @@ and examine each one in turn using both defined in .In openssl/safestack.h . .Sh RETURN VALUES -.Fn X509_CRL_get0_by_serial , -.Fn X509_CRL_get0_by_cert , -.Fn X509_CRL_add0_revoked , +.Fn X509_CRL_get0_by_serial +and +.Fn X509_CRL_get0_by_cert +return 0 for failure or 1 for success, except if the revoked entry +has the reason +.Qq removeFromCRL , +in which case 2 is returned. +.Pp +.Fn X509_CRL_add0_revoked and .Fn X509_CRL_sort return 1 for success or 0 for failure. |