Fix docs for X509_CRL_get0_by_serial() and X509_CRL_get0_by_cert()
[openssl.git] / doc / man3 / X509_CRL_get0_by_serial.pod
index d9d4360fe01688b14b9402b6d7bca28bb63a127d..a704228eb9ec0dc99d0cab3a7b506ea15f260b09 100644 (file)
@@ -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.