summaryrefslogtreecommitdiffstats
path: root/crypto/x509/x509_lcl.h
diff options
context:
space:
mode:
authorViktor Dukhovni <openssl-users@dukhovni.org>2016-02-27 20:17:28 +0100
committerViktor Dukhovni <openssl-users@dukhovni.org>2016-04-03 17:35:19 +0200
commit70dd3c6593d87e4cbb56b485717cb2cfff730f3e (patch)
tree309286eaa887e800347f19f19151468fb8cdbf06 /crypto/x509/x509_lcl.h
parentOrdinals adjustment (diff)
downloadopenssl-70dd3c6593d87e4cbb56b485717cb2cfff730f3e.tar.xz
openssl-70dd3c6593d87e4cbb56b485717cb2cfff730f3e.zip
Tidy up x509_vfy callback handling
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
Diffstat (limited to 'crypto/x509/x509_lcl.h')
-rw-r--r--crypto/x509/x509_lcl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/x509/x509_lcl.h b/crypto/x509/x509_lcl.h
index ad29ec3894..0726201e8f 100644
--- a/crypto/x509/x509_lcl.h
+++ b/crypto/x509/x509_lcl.h
@@ -81,7 +81,8 @@ struct X509_VERIFY_PARAM_st {
size_t iplen; /* Length of IP address */
};
-int x509_check_cert_time(X509_STORE_CTX *ctx, X509 *x, int quiet);
+/* No error callback if depth < 0 */
+int x509_check_cert_time(X509_STORE_CTX *ctx, X509 *x, int depth);
/* a sequence of these are used */
struct x509_attributes_st {