mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-20 16:12:22 +01:00
12 lines
381 B
Diff
12 lines
381 B
Diff
--- openvswitch-2.8.0/lib/stream-ssl.c
|
|
+++ openvswitch-2.8.0/lib/stream-ssl.c.new
|
|
@@ -448,7 +448,7 @@
|
|
}
|
|
|
|
const char *cn;
|
|
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined (LIBRESSL_VERSION_NUMBER)
|
|
/* ASN1_STRING_data() is deprecated as of OpenSSL version 1.1 */
|
|
cn = (const char *)ASN1_STRING_data(cn_data);
|
|
#else
|