aboutsummaryrefslogtreecommitdiff
path: root/www/xshttpd-devel
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2008-11-22 17:05:15 +0000
committerJohan van Selst <johans@FreeBSD.org>2008-11-22 17:05:15 +0000
commit1e2d06f32db41b5dfd22d91f541f98162f036d28 (patch)
tree0902c1c148ae485c305cf47f39ca309dd4797192 /www/xshttpd-devel
parenta90f86cc13a251dfb53b1172e68130cae47b8b91 (diff)
downloadports-1e2d06f32db41b5dfd22d91f541f98162f036d28.tar.gz
ports-1e2d06f32db41b5dfd22d91f541f98162f036d28.zip
Notes
Diffstat (limited to 'www/xshttpd-devel')
-rw-r--r--www/xshttpd-devel/files/patch-src_ssl.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/www/xshttpd-devel/files/patch-src_ssl.c b/www/xshttpd-devel/files/patch-src_ssl.c
new file mode 100644
index 000000000000..3c9c09806bf3
--- /dev/null
+++ b/www/xshttpd-devel/files/patch-src_ssl.c
@@ -0,0 +1,29 @@
+--- src/ssl.c.orig 2008-11-22 17:49:07.000000000 +0100
++++ src/ssl.c 2008-11-22 17:50:17.000000000 +0100
+@@ -16,11 +16,13 @@
+ #endif /* HAVE_ERR_H */
+
+ #ifdef HANDLE_SSL
++# define MD5_CTX OpenSSL_MD5_CTX
+ #include <openssl/rand.h>
+ #include <openssl/err.h>
+ #include <openssl/conf.h>
+ #include <openssl/ssl.h>
+ #include <openssl/tls1.h>
++# undef MD5_CTX
+ #endif /* HANDLE_SSL */
+
+ #include "htconfig.h"
+--- src/ssl.h.orig 2008-11-22 17:49:11.000000000 +0100
++++ src/ssl.h 2008-11-22 17:50:17.000000000 +0100
+@@ -11,8 +11,10 @@
+ # define OPENSSL_NO_MD5
+ # define HEADER_MD5_H /* trick older openssl */
+ # endif /* Not USE_OPENSSL_MD5 */
++# define MD5_CTX OpenSSL_MD5_CTX
+ # include <openssl/ssl.h>
+ # include <openssl/tls1.h>
++# undef MD5_CTX
+ # ifdef TLSEXT_NAMETYPE_host_name
+ # ifndef OPENSSL_NO_TLSEXT
+ # define HANDLE_SSL_TLSEXT