mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
12 lines
398 B
Diff
12 lines
398 B
Diff
--- 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
|