1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/security/py-openssl/files/patch-OpenSSL__ssl__ssl.h
Sofian Brabez 58c1bd2cfb - Fix build on 7.x
Reported by:	pav@
Approved by:	miwi@ (mentor)
2011-09-19 09:15:08 +00:00

12 lines
315 B
C

--- ./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_ */