git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94202
13f79535-47bb-0310-9956-
ffa450edef68
SSL_get_ex_data_X509_STORE_CTX_idx(),
(char *)ssl);
- if (!X509_verify_cert(&cert_store_ctx)) {
+ if (!modssl_X509_verify_cert(&cert_store_ctx)) {
ssl_log(r->server, SSL_LOG_ERROR|SSL_ADD_SSLERR,
"Re-negotiation verification step failed");
}
#define MODSSL_BIO_CB_ARG_TYPE const char
+#define modssl_X509_verify_cert(c) X509_verify_cert(c)
+
#else /* RSA sslc */
#ifndef STACK_OF
#define MODSSL_BIO_CB_ARG_TYPE char
+#define modssl_X509_verify_cert(c) X509_verify_cert(c, NULL)
+
#if SSLC_VERSION < 0x2000
#define X509_STORE_CTX_set_depth(st, d)