y***@apache.org
2014-10-05 11:41:53 UTC
Author: ylavic
Date: Sun Oct 5 11:41:52 2014
New Revision: 1629485
URL: http://svn.apache.org/r1629485
Log:
Follow up to r1629372: ensure compatibily with OpenSSL < 1.0 (sk_OPENSSL_STRING_value).
Modified:
httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c
Modified: httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c?rev=1629485&r1=1629484&r2=1629485&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c Sun Oct 5 11:41:52 2014
@@ -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
/**
Date: Sun Oct 5 11:41:52 2014
New Revision: 1629485
URL: http://svn.apache.org/r1629485
Log:
Follow up to r1629372: ensure compatibily with OpenSSL < 1.0 (sk_OPENSSL_STRING_value).
Modified:
httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c
Modified: httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c?rev=1629485&r1=1629484&r2=1629485&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c Sun Oct 5 11:41:52 2014
@@ -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
/**