diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-07-17 08:30:12 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-07-17 08:44:05 +0000 |
commit | 409d46bdce6e4179aa3802f70685c9f1b3927f33 (patch) | |
tree | 462c4a6f61bd52c2a2b54e477d89ef04dccf361c /community/spice-gtk/libressl.patch | |
parent | 82de30fe3c7a65cdb89c05b5e75850d178bef09a (diff) | |
download | aports-409d46bdce6e4179aa3802f70685c9f1b3927f33.tar.bz2 aports-409d46bdce6e4179aa3802f70685c9f1b3927f33.tar.xz |
community/spice-gtk: upgrade to 0.35
Diffstat (limited to 'community/spice-gtk/libressl.patch')
-rw-r--r-- | community/spice-gtk/libressl.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/community/spice-gtk/libressl.patch b/community/spice-gtk/libressl.patch new file mode 100644 index 0000000000..4c362b0ae1 --- /dev/null +++ b/community/spice-gtk/libressl.patch @@ -0,0 +1,39 @@ +diff --git a/spice-common/common/ssl_verify.c b/spice-common/common/ssl_verify.c +index 27aa5d3..a9ed650 100644 +--- a/spice-common/common/ssl_verify.c ++++ b/spice-common/common/ssl_verify.c +@@ -33,7 +33,7 @@ + #include <string.h> + #include <gio/gio.h> + +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined (LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 + static const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *asn1) + { + return M_ASN1_STRING_data(asn1); +diff --git a/src/bio-gio.c b/src/bio-gio.c +index 30aa73b..6b1ef9a 100644 +--- a/src/bio-gio.c ++++ b/src/bio-gio.c +@@ -23,7 +23,7 @@ + #include "spice-util.h" + #include "bio-gio.h" + +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 + static BIO_METHOD one_static_bio; + + static int BIO_meth_set_read(BIO_METHOD *biom, +diff --git a/src/spice-channel.c b/src/spice-channel.c +index 6f3ca27..55344a3 100644 +--- a/src/spice-channel.c ++++ b/src/spice-channel.c +@@ -55,7 +55,7 @@ static void spice_channel_reset_capabilities(SpiceChannel *channel); + static void spice_channel_send_migration_handshake(SpiceChannel *channel); + static gboolean channel_connect(SpiceChannel *channel, gboolean tls); + +-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 + static RSA *EVP_PKEY_get0_RSA(EVP_PKEY *pkey) + { + if (pkey->type != EVP_PKEY_RSA) { |