diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2017-03-04 02:36:03 +0200 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2017-03-04 02:37:16 +0200 |
commit | 1c8cf2757d1e8085ed7b1969718ce22650edb23f (patch) | |
tree | 8344d305bf4ce54886b02c6e894749622d2c7339 /dev-libs/efl/files | |
parent | media-sound/kid3: add patch to fix bogus dependencies (diff) | |
download | gentoo-1c8cf2757d1e8085ed7b1969718ce22650edb23f.tar.gz gentoo-1c8cf2757d1e8085ed7b1969718ce22650edb23f.tar.bz2 gentoo-1c8cf2757d1e8085ed7b1969718ce22650edb23f.zip |
dev-libs/efl: support gnutls-3.4
Bug: 584924
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-libs/efl/files')
-rw-r--r-- | dev-libs/efl/files/efl-1.17.0-gnutls-3.4.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/efl/files/efl-1.17.0-gnutls-3.4.patch b/dev-libs/efl/files/efl-1.17.0-gnutls-3.4.patch new file mode 100644 index 000000000000..6c5f8eb757c5 --- /dev/null +++ b/dev-libs/efl/files/efl-1.17.0-gnutls-3.4.patch @@ -0,0 +1,39 @@ +From 6f42992b4f1110f44d2db57cd6fe42559cfffdc2 Mon Sep 17 00:00:00 2001 +From: Cedric BAIL <cedric@osg.samsung.com> +Date: Wed, 21 Sep 2016 10:33:44 -0700 +Subject: [PATCH] eet: fix gnutls support with newer version. + +--- + src/lib/eet/eet_cipher.c | 9 ++++----- + 1 file changed, 4 insertions(+), 5 deletions(-) + +diff --git a/src/lib/eet/eet_cipher.c b/src/lib/eet/eet_cipher.c +index a34fdff..cf9ef71 100644 +--- a/src/lib/eet/eet_cipher.c ++++ b/src/lib/eet/eet_cipher.c +@@ -679,7 +679,6 @@ eet_identity_check(const void *data_base, + gnutls_datum_t datum; + gnutls_datum_t signature; + gnutls_pubkey_t pubkey; +- gnutls_digest_algorithm_t hash_algo; + unsigned char *hash; + gcry_md_hd_t md; + int err; +@@ -717,10 +716,10 @@ eet_identity_check(const void *data_base, + if (gnutls_pubkey_import_x509(pubkey, cert, 0) < 0) + goto on_error; + +- if (gnutls_pubkey_get_verify_algorithm(pubkey, &signature, &hash_algo) < 0) +- goto on_error; +- +- if (gnutls_pubkey_verify_hash(pubkey, 0, &datum, &signature) < 0) ++ if (gnutls_pubkey_verify_hash2(pubkey, ++ gnutls_x509_crt_get_signature_algorithm(cert), ++ 0, ++ &datum, &signature) < 0) + goto on_error; + + if (sha1) +-- +2.10.2 + |