From: Yann Ylavic Date: Sun, 5 Oct 2014 11:41:52 +0000 (+0000) Subject: Follow up to r1629372: ensure compatibily with OpenSSL < 1.0 (sk_OPENSSL_STRING_value). X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f165afb0a9f2cf7c7a0744abf450eca0fa47f1ae;p=thirdparty%2Fapache%2Fhttpd.git Follow up to r1629372: ensure compatibily with OpenSSL < 1.0 (sk_OPENSSL_STRING_value). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1629485 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_util_stapling.c b/modules/ssl/ssl_util_stapling.c index 81e95b41cad..933d17799c6 100644 --- a/modules/ssl/ssl_util_stapling.c +++ b/modules/ssl/ssl_util_stapling.c @@ -32,6 +32,11 @@ #include "ap_mpm.h" #include "apr_thread_mutex.h" +#ifndef sk_OPENSSL_STRING_value +/* backward compatibility with OpenSSL < 1.0 */ +#define sk_OPENSSL_STRING_value sk_value +#endif + #ifdef HAVE_OCSP_STAPLING /**