On 2017-02-20 04:55, Michal Schmidt wrote: > 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
Greetings Michal, Thank you for the patches. Unfortunately we won't be able to merge them due to the following found in one of the patches: + * Getter functions for OpenSSL < 1.1 compatibility. Based on code from: + * https://wiki.openssl.org/index.php/1.1_API_Changes#Adding_forward-compatible_code_to_older_versions + * and therefore: + * Copyright OpenSSL 2016 + * Contents licensed under the terms of the OpenSSL license + * See http://www.openssl.org/source/license.html for details My understanding is that the OpenSSL license is not compatible with GPL. Although TrouSerS is not GPL itself, GPL programs may link with TrouSerS. Kind regards, Debora V. Babb IBM Linux Technology Center ------------------------------------------------------------------------------ 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
