summaryrefslogtreecommitdiffstats
path: root/modules/ssl/ssl_toolkit_compat.h
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2002-08-21 21:12:46 +0200
committerWilliam A. Rowe Jr <wrowe@apache.org>2002-08-21 21:12:46 +0200
commit37fb026ce180fba527d12adf9f00e32ad1a56bf5 (patch)
tree7e3882639367c5d2ddbe314aa9c5908889538e14 /modules/ssl/ssl_toolkit_compat.h
parentFix a problem whereby RewriteMap prg:'s would get out of sync due to (diff)
downloadapache2-37fb026ce180fba527d12adf9f00e32ad1a56bf5.tar.xz
apache2-37fb026ce180fba527d12adf9f00e32ad1a56bf5.zip
Small fixes for SSLC
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96477 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/ssl/ssl_toolkit_compat.h')
-rw-r--r--modules/ssl/ssl_toolkit_compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/ssl/ssl_toolkit_compat.h b/modules/ssl/ssl_toolkit_compat.h
index 7501402743..5355177d91 100644
--- a/modules/ssl/ssl_toolkit_compat.h
+++ b/modules/ssl/ssl_toolkit_compat.h
@@ -120,6 +120,9 @@
/* sslc does not support this function, OpenSSL has since 9.5.1 */
#define RAND_status() 1
+/* sslc names this function a bit differently */
+#define CRYPTO_num_locks() CRYPTO_get_num_locks()
+
#ifndef STACK_OF
#define STACK_OF(type) STACK
#endif
@@ -171,6 +174,7 @@
#define sk_SSL_CIPHER_find(st, data) sk_find(st, (void *)data)
#define sk_SSL_CIPHER_value (SSL_CIPHER *)sk_value
#define sk_X509_num sk_num
+#define sk_X509_push sk_push
#define sk_X509_value (X509 *)sk_value
#define sk_X509_INFO_value (X509_INFO *)sk_value
#define sk_X509_INFO_free sk_free