mirror of
https://git.freebsd.org/ports.git
synced 2025-06-27 15:40:32 -04:00
The Python driver is now provided by net/py-paho-mqtt! More drivers can be found at http://eclipse.org/paho PR: 200540 Submitted by: ohauer Approved by: Joseph Benden <joe@thrallingpenguin.com> (maintainer, via PM)
13 lines
402 B
C
13 lines
402 B
C
--- lib/tls_mosq.h.orig 2015-05-07 13:21:22 UTC
|
|
+++ lib/tls_mosq.h
|
|
@@ -20,8 +20,9 @@ Contributors:
|
|
#ifdef WITH_TLS
|
|
|
|
#include <openssl/ssl.h>
|
|
+#include <sys/socket.h>
|
|
#ifdef WITH_TLS_PSK
|
|
-# if OPENSSL_VERSION_NUMBER >= 0x10000000
|
|
+# if OPENSSL_VERSION_NUMBER >= 0x10000000 && !defined(OPENSSL_NO_PSK)
|
|
# define REAL_WITH_TLS_PSK
|
|
# else
|
|
# warning "TLS-PSK not supported, openssl too old."
|