blob: 4801394025f7ed11804add1f1a191338cf3706d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- isync-1.2.2/src/socket.c
+++ isync-1.2.2/src/socket.c.new
@@ -40,7 +40,7 @@
# include <openssl/ssl.h>
# include <openssl/err.h>
# include <openssl/x509v3.h>
-# if OPENSSL_VERSION_NUMBER < 0x10100000L
+# if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
# define X509_OBJECT_get0_X509(o) ((o)->data.x509)
# define X509_STORE_get0_objects(o) ((o)->objs)
# endif
|