tpm-tools fail to build from source in Fedora Rawhide, which uses OpenSSL 1.1. The first two patches fix the build for OpenSSL 1.1, while still allowing to build with OpenSSL 1.0. Patch 3 fixes segfaults in tpm_sealdata/tpm_unsealdata that were caused by an incorrect previous patch related to OpenSSL 1.1 in tpm-tools 1.3.9.
Michal Schmidt (3): Fix build with OpenSSL 1.1 due to EVP_PKEY being an opaque struct Fix build with OpenSSL 1.1 due to RSA being an opaque struct Allocate OpenSSL cipher contexts for seal/unseal lib/tpm_unseal.c | 12 +++++++-- src/cmds/tpm_sealdata.c | 11 ++++++-- src/data_mgmt/Makefile.am | 3 ++- src/data_mgmt/data_import.c | 54 ++++++++++++++++++++++++--------------- src/data_mgmt/openssl_compat.h | 58 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 112 insertions(+), 26 deletions(-) create mode 100644 src/data_mgmt/openssl_compat.h -- 2.9.3 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ TrouSerS-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/trousers-tech
