summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorSofian Brabez <sbz@FreeBSD.org>2011-09-19 09:15:08 +0000
committerSofian Brabez <sbz@FreeBSD.org>2011-09-19 09:15:08 +0000
commit58c1bd2cfb67f597d66945300cfb3445d56bc60d (patch)
treea02ae3af0fe81493252dabec9b81902d54388bbb /security
parentUpdate to 0.7.4 (diff)
- Fix build on 7.x
Reported by: pav@ Approved by: miwi@ (mentor)
Notes
Notes: svn path=/head/; revision=281979
Diffstat (limited to 'security')
-rw-r--r--security/py-openssl/files/patch-OpenSSL__ssl__ssl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/py-openssl/files/patch-OpenSSL__ssl__ssl.h b/security/py-openssl/files/patch-OpenSSL__ssl__ssl.h
new file mode 100644
index 000000000000..c6e29cd82765
--- /dev/null
+++ b/security/py-openssl/files/patch-OpenSSL__ssl__ssl.h
@@ -0,0 +1,11 @@
+--- ./OpenSSL/ssl/ssl.h.orig 2011-09-02 17:46:13.000000000 +0200
++++ ./OpenSSL/ssl/ssl.h 2011-09-12 15:49:37.000000000 +0200
+@@ -73,4 +73,8 @@
+
+ #endif /* SSL_MODULE */
+
++#if !defined(TLSEXT_NAMETYPE_host_name) && defined(__FreeBSD__)
++#define TLSEXT_NAMETYPE_host_name 0
++#endif
++
+ #endif /* PyOpenSSL_SSL_H_ */