You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2002/08/21 21:12:46 UTC
cvs commit: httpd-2.0/modules/ssl ssl_toolkit_compat.h
wrowe 2002/08/21 12:12:46
Modified: modules/ssl ssl_toolkit_compat.h
Log:
Small fixes for SSLC
Revision Changes Path
1.25 +4 -0 httpd-2.0/modules/ssl/ssl_toolkit_compat.h
Index: ssl_toolkit_compat.h
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_toolkit_compat.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- ssl_toolkit_compat.h 30 Mar 2002 08:11:44 -0000 1.24
+++ ssl_toolkit_compat.h 21 Aug 2002 19:12:46 -0000 1.25
@@ -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