diff options
author | Bodo Möller <bodo@openssl.org> | 2002-02-28 10:52:56 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2002-02-28 10:52:56 +0000 |
commit | 023ec151df447fbb12bba8dddb0bf1396c44014e (patch) | |
tree | 07b3265ce3163980f86c1c209d72e6a47aebc217 /ssl/ssl_cert.c | |
parent | 59dbdb51dc41fb871f491e7d91bf6d8aae7078a5 (diff) |
Add 'void *' argument to app_verify_callback.
Submitted by: D. K. Smetters <smetters@parc.xerox.com>
Reviewed by: Bodo Moeller
Diffstat (limited to 'ssl/ssl_cert.c')
-rw-r--r-- | ssl/ssl_cert.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ssl/ssl_cert.c b/ssl/ssl_cert.c index d78584715a..1a873d2cb7 100644 --- a/ssl/ssl_cert.c +++ b/ssl/ssl_cert.c @@ -483,7 +483,11 @@ int ssl_verify_cert_chain(SSL *s,STACK_OF(X509) *sk) X509_STORE_CTX_set_verify_cb(&ctx, s->verify_callback); if (s->ctx->app_verify_callback != NULL) +#if 1 /* new with OpenSSL 0.9.7 */ + i=s->ctx->app_verify_callback(&ctx, s->ctx->app_verify_arg); +#else i=s->ctx->app_verify_callback(&ctx); /* should pass app_verify_arg */ +#endif else { #ifndef OPENSSL_NO_X509_VERIFY |