void-packages/srcpkgs/spice/patches/libressl.patch

12 lines
449 B
Diff
Raw Normal View History

2017-08-03 12:03:01 +02:00
--- spice-common/common/ssl_verify.c.orig 2017-08-03 11:57:02.149307232 +0200
+++ spice-common/common/ssl_verify.c 2017-08-03 11:57:29.209630642 +0200
@@ -33,7 +33,7 @@
#include <string.h>
#include <gio/gio.h>
-#if OPENSSL_VERSION_NUMBER < 0x10100000
+#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)
static const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *asn1)
{
return M_ASN1_STRING_data(asn1);