summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalah Coronya <salah.coronya@gmail.com>2020-02-19 20:06:06 -0600
committerJoonas Niilola <juippis@gentoo.org>2020-02-26 18:17:24 +0200
commita55183cb36173cc4fcd29ba29e4d12ff15e08d47 (patch)
tree4df0fdb8cb2bc6e82afebc747cae0407cac24cb1 /app-crypt/tpm2-tss-engine/files/tpm2-tss-engine-1.0.1-libressl.patch
parentapp-crypt/tpm2-tss-engine: Add salah.coronya@gmail.com as proxy maintainer (diff)
downloadgentoo-a55183cb36173cc4fcd29ba29e4d12ff15e08d47.tar.gz
gentoo-a55183cb36173cc4fcd29ba29e4d12ff15e08d47.tar.bz2
gentoo-a55183cb36173cc4fcd29ba29e4d12ff15e08d47.zip
app-crypt/tpm2-tss-engine: Bump version to 1.0.1
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Salah Coronya <salah.coronya@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-crypt/tpm2-tss-engine/files/tpm2-tss-engine-1.0.1-libressl.patch')
-rw-r--r--app-crypt/tpm2-tss-engine/files/tpm2-tss-engine-1.0.1-libressl.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/app-crypt/tpm2-tss-engine/files/tpm2-tss-engine-1.0.1-libressl.patch b/app-crypt/tpm2-tss-engine/files/tpm2-tss-engine-1.0.1-libressl.patch
new file mode 100644
index 000000000000..66bb68e76940
--- /dev/null
+++ b/app-crypt/tpm2-tss-engine/files/tpm2-tss-engine-1.0.1-libressl.patch
@@ -0,0 +1,35 @@
+From deb2b6697babf99aaf3f64b342ce414b48638ea3 Mon Sep 17 00:00:00 2001
+From: Alon Bar-Lev <alon.barlev@gmail.com>
+Date: Fri, 31 May 2019 20:36:47 +0300
+Subject: [PATCH] build: libressl fix incomplete type
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+src/tpm2-tss-engine-rand.c:90:1: error: variable ‘rand_methods’ has initializer but incomplete type
+ 90 | static RAND_METHOD rand_methods = {
+ | ^~~~~~
+src/tpm2-tss-engine-rand.c:91:5: warning: excess elements in struct initializer
+
+Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
+---
+ src/tpm2-tss-engine-rand.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+https://github.com/tpm2-software/tpm2-tss-engine/pull/120
+
+diff --git a/src/tpm2-tss-engine-rand.c b/src/tpm2-tss-engine-rand.c
+index 50d5661..86980a5 100644
+--- a/src/tpm2-tss-engine-rand.c
++++ b/src/tpm2-tss-engine-rand.c
+@@ -32,6 +32,7 @@
+ #include <string.h>
+
+ #include <openssl/engine.h>
++#include <openssl/rand.h>
+
+ #include <tss2/tss2_mu.h>
+ #include <tss2/tss2_esys.h>
+--
+2.21.0
+