[openssl-commits] [openssl] OpenSSL_1_1_0-stable update

Richard Levitte levitte at openssl.org
Mon Mar 20 13:36:47 UTC 2017


The branch OpenSSL_1_1_0-stable has been updated
       via  2af4b3fe32a82aed296c88cea13508701d0dd34b (commit)
      from  8d049ed24b06ada5bb8c50143c23c061647ca5d9 (commit)


- Log -----------------------------------------------------------------
commit 2af4b3fe32a82aed296c88cea13508701d0dd34b
Author: Richard Levitte <levitte at openssl.org>
Date:   Mon Mar 20 12:29:37 2017 +0100

    Fix docs for X509_CRL_get0_by_serial() and X509_CRL_get0_by_cert()
    
    They both return 2 when the revoked entry that's found has the reason
    removeFromCRL.
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/2993)
    (cherry picked from commit cdd6c8c5785f44026d58b542431674598db18493)

-----------------------------------------------------------------------

Summary of changes:
 doc/crypto/X509_CRL_get0_by_serial.pod | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/doc/crypto/X509_CRL_get0_by_serial.pod b/doc/crypto/X509_CRL_get0_by_serial.pod
index d9d4360..a704228 100644
--- a/doc/crypto/X509_CRL_get0_by_serial.pod
+++ b/doc/crypto/X509_CRL_get0_by_serial.pod
@@ -70,7 +70,10 @@ in turn using sk_X509_REVOKED_value().
 
 =head1 RETURN VALUES
 
-X509_CRL_get0_by_serial(), X509_CRL_get0_by_cert(),
+X509_CRL_get0_by_serial() and X509_CRL_get0_by_cert() return 0 for failure,
+1 on success except if the revoked entry has the reason C<removeFromCRL> (8),
+in which case 2 is returned.
+
 X509_REVOKED_set_serialNumber(), X509_REVOKED_set_revocationDate(),
 X509_CRL_add0_revoked() and X509_CRL_sort() return 1 for success and 0 for
 failure.


More information about the openssl-commits mailing list