summaryrefslogtreecommitdiffstats
path: root/modules/ssl/ssl_toolkit_compat.h
diff options
context:
space:
mode:
authorDoug MacEachern <dougm@apache.org>2002-03-27 04:27:13 +0100
committerDoug MacEachern <dougm@apache.org>2002-03-27 04:27:13 +0100
commit008b963af9ee417f1eb2cd7e3cf6095aec12d67d (patch)
tree57752deba968f102d7182e095dd31c1c28be8088 /modules/ssl/ssl_toolkit_compat.h
parentin sslc PEM_F_DEF_CALLBACK == PEM_F_DEF_CB (diff)
downloadapache2-008b963af9ee417f1eb2cd7e3cf6095aec12d67d.tar.xz
apache2-008b963af9ee417f1eb2cd7e3cf6095aec12d67d.zip
sslc does not currently support RAND_egd or RAND_status
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94207 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/ssl/ssl_toolkit_compat.h')
-rw-r--r--modules/ssl/ssl_toolkit_compat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/ssl/ssl_toolkit_compat.h b/modules/ssl/ssl_toolkit_compat.h
index 1e5278ba93..1db46bbb8a 100644
--- a/modules/ssl/ssl_toolkit_compat.h
+++ b/modules/ssl/ssl_toolkit_compat.h
@@ -47,6 +47,8 @@
#define modssl_X509_verify_cert(c) X509_verify_cert(c)
+#define HAVE_SSL_RAND_EDG /* since 9.5.1 */
+
#else /* RSA sslc */
#ifndef STACK_OF
@@ -116,4 +118,7 @@
SSL_set_verify(ssl, verify, cb)
#endif
+/* sslc does not support this function, OpenSSL has since 9.5.1 */
+#define RAND_status() 1
+
#endif /* SSL_TOOLKIT_COMPAT_H */