Tidy up x509_vfy callback handling
[openssl.git] / crypto / x509 / x509_lcl.h
index 724c241e69ec0110ed5239743ed5078dd8830b7d..0726201e8f90abcd63009a5be9fe6671c5282217 100644 (file)
@@ -1,4 +1,3 @@
-/* x509_lcl.h */
 /*
  * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project
  * 2013.
@@ -82,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 {