diff options
author | Salah Coronya <salah.coronya@gmail.com> | 2020-04-10 19:43:55 -0500 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-05-13 16:16:48 +0300 |
commit | f1b23e789dfc6359d1967a199f48eb44ca2f33ef (patch) | |
tree | f4324a68b2e0f8fac144ebdd2771d48528d86bbd /app-crypt/tpm2-tools/files | |
parent | app-crypt/tpm2-tss: Remove old (diff) | |
download | gentoo-f1b23e789dfc6359d1967a199f48eb44ca2f33ef.tar.gz gentoo-f1b23e789dfc6359d1967a199f48eb44ca2f33ef.tar.bz2 gentoo-f1b23e789dfc6359d1967a199f48eb44ca2f33ef.zip |
app-crypt/tpm2-tools: Bump to 4.2
Closes: https://bugs.gentoo.org/722018
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Salah Coronya <salah.coronya@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-crypt/tpm2-tools/files')
-rw-r--r-- | app-crypt/tpm2-tools/files/tpm2-tools-4.2-libressl.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app-crypt/tpm2-tools/files/tpm2-tools-4.2-libressl.patch b/app-crypt/tpm2-tools/files/tpm2-tools-4.2-libressl.patch new file mode 100644 index 000000000000..2f39db3283c3 --- /dev/null +++ b/app-crypt/tpm2-tools/files/tpm2-tools-4.2-libressl.patch @@ -0,0 +1,26 @@ +From a1ac2ee0c6592e6f730458c03a2abd1532c66046 Mon Sep 17 00:00:00 2001 +From: Salah Coronya <salah.coronya@gmail.com> +Date: Sun, 12 Jan 2020 19:17:48 -0600 +Subject: [PATCH] lib/tpm2_openssl.c: Fix build for libressl + +Signed-off-by: Salah Coronya <salah.coronya@gmail.com> +--- + lib/tpm2_openssl.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/tpm2_openssl.c b/lib/tpm2_openssl.c +index 505dd7a0..fd3861d9 100644 +--- a/lib/tpm2_openssl.c ++++ b/lib/tpm2_openssl.c +@@ -14,7 +14,7 @@ + #include "tpm2_openssl.h" + + /* compatibility function for OpenSSL versions < 1.1.0 */ +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + static int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen) { + int r; + int topad; +-- +2.24.1 + |