From: Hannes Magnusson Date: Tue, 12 Jul 2016 21:33:25 +0000 (-0700) Subject: Remove reduntant X509_STORE_CTX_set_verify_cb declaration X-Git-Tag: OpenSSL_1_1_0-pre6~139 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c106eaa8ed7c24900e4367fc85cae1a77bc4e5ae;p=oweals%2Fopenssl.git Remove reduntant X509_STORE_CTX_set_verify_cb declaration f0e0fd51fd8307f6eae64862ad9aaea113f1177a added X509_STORE_CTX_set_verify_cb with a typedef'd argument, making the original one redundant. Reviewed-by: Rich Salz Reviewed-by: Matt Caswell --- diff --git a/include/openssl/x509_vfy.h b/include/openssl/x509_vfy.h index 183889a2f1..19895bf9d4 100644 --- a/include/openssl/x509_vfy.h +++ b/include/openssl/x509_vfy.h @@ -360,8 +360,6 @@ int X509_STORE_CTX_purpose_inherit(X509_STORE_CTX *ctx, int def_purpose, void X509_STORE_CTX_set_flags(X509_STORE_CTX *ctx, unsigned long flags); void X509_STORE_CTX_set_time(X509_STORE_CTX *ctx, unsigned long flags, time_t t); -void X509_STORE_CTX_set_verify_cb(X509_STORE_CTX *ctx, - int (*verify_cb) (int, X509_STORE_CTX *)); X509_POLICY_TREE *X509_STORE_CTX_get0_policy_tree(X509_STORE_CTX *ctx); int X509_STORE_CTX_get_explicit_policy(X509_STORE_CTX *ctx);