Hello community,
here is the log from the commit of package tpm-tools for openSUSE:Factory checked in at 2017-03-03 17:45:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tpm-tools (Old)
and /work/SRC/openSUSE:Factory/.tpm-tools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tpm-tools"
Fri Mar 3 17:45:53 2017 rev:31 rq:461335 version:1.3.9.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/tpm-tools/tpm-tools.changes 2017-01-09 11:54:00.508825569 +0100
+++ /work/SRC/openSUSE:Factory/.tpm-tools.new/tpm-tools.changes 2017-03-03 17:45:55.949280316 +0100
@@ -1,0 +2,6 @@
+Wed Mar 1 10:56:33 UTC 2017 - meissner@suse.com
+
+- updated to 1.3.9.1 (FATE#321450)
+ - bugfixes after openssl 1.1 porting
+
+-------------------------------------------------------------------
Old:
----
tpm-tools-1.3.9.tar.gz
New:
----
tpm-tools-1.3.9.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ tpm-tools.spec ++++++
--- /var/tmp/diff_new_pack.WSDr1Q/_old 2017-03-03 17:45:56.541196665 +0100
+++ /var/tmp/diff_new_pack.WSDr1Q/_new 2017-03-03 17:45:56.541196665 +0100
@@ -18,7 +18,7 @@
%define lib_name libtpm_unseal1
Name: tpm-tools
-Version: 1.3.9
+Version: 1.3.9.1
Release: 0
Summary: Trusted Platform Module (TPM) administration tools
License: IPL-1.0
++++++ tpm-tools-1.3.9.tar.gz -> tpm-tools-1.3.9.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config.h.in~ new/config.h.in~
--- old/config.h.in~ 2016-11-17 20:42:24.000000000 +0100
+++ new/config.h.in~ 1970-01-01 01:00:00.000000000 +0100
@@ -1,114 +0,0 @@
-/* config.h.in. Generated from configure.ac by autoheader. */
-
-/* Define to 1 if translation of program messages to the user's native
- language is requested. */
-#undef ENABLE_NLS
-
-/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
- CoreFoundation framework. */
-#undef HAVE_CFLOCALECOPYCURRENT
-
-/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
- the CoreFoundation framework. */
-#undef HAVE_CFPREFERENCESCOPYAPPVALUE
-
-/* Define if the GNU dcgettext() function is already present or preinstalled.
- */
-#undef HAVE_DCGETTEXT
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_DLFCN_H
-
-/* Define if the GNU gettext() function is already present or preinstalled. */
-#undef HAVE_GETTEXT
-
-/* Define if you have the iconv() function. */
-#undef HAVE_ICONV
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_INTTYPES_H
-
-/* Define to 1 if you support file names longer than 14 characters. */
-#undef HAVE_LONG_FILE_NAMES
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_MEMORY_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_STDINT_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_STDLIB_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_STRINGS_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_STRING_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_SYS_STAT_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_SYS_TYPES_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_UNISTD_H
-
-/* Define to the sub-directory in which libtool stores uninstalled libraries.
- */
-#undef LT_OBJDIR
-
-/* Name of package */
-#undef PACKAGE
-
-/* Define to the address where bug reports for this package should be sent. */
-#undef PACKAGE_BUGREPORT
-
-/* Define to the full name of this package. */
-#undef PACKAGE_NAME
-
-/* Define to the full name and version of this package. */
-#undef PACKAGE_STRING
-
-/* Define to the one symbol short name of this package. */
-#undef PACKAGE_TARNAME
-
-/* Define to the version of this package. */
-#undef PACKAGE_VERSION
-
-/* Define as the return type of signal handlers (`int' or `void'). */
-#undef RETSIGTYPE
-
-/* Define to 1 if you have the ANSI C header files. */
-#undef STDC_HEADERS
-
-/* Version number of package */
-#undef VERSION
-
-/* Define to empty if `const' does not conform to ANSI C. */
-#undef const
-
-/* Define to `int' if doesn't define. */
-#undef gid_t
-
-/* Define to `__inline__' or `__inline' if that's what the C compiler
- calls it, or to nothing if 'inline' is not supported under any name. */
-#ifndef __cplusplus
-#undef inline
-#endif
-
-/* Define to `int' if does not define. */
-#undef mode_t
-
-/* Define to `long int' if does not define. */
-#undef off_t
-
-/* Define to `int' if does not define. */
-#undef pid_t
-
-/* Define to `unsigned int' if does not define. */
-#undef size_t
-
-/* Define to `int' if doesn't define. */
-#undef uid_t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/Makefile.am new/lib/Makefile.am
--- old/lib/Makefile.am 2016-11-17 20:37:17.000000000 +0100
+++ new/lib/Makefile.am 2017-02-21 03:23:56.000000000 +0100
@@ -80,4 +80,4 @@
# Unseal library - for addition to existing apps, counter part of seal cmd
libtpm_unseal_la_SOURCES = tpm_unseal.c
libtpm_unseal_la_LDFLAGS = -shared -version-info 1:0:0
-libtpm_unseal_la_LIBADD = -ltspi libtpm_tspi.la @INTLLIBS@
+libtpm_unseal_la_LIBADD = -ltspi libtpm_tspi.la -lcrypto @INTLLIBS@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/Makefile.in new/lib/Makefile.in
--- old/lib/Makefile.in 2016-11-29 02:43:44.000000000 +0100
+++ new/lib/Makefile.in 2017-02-21 03:31:45.000000000 +0100
@@ -324,7 +324,7 @@
# Unseal library - for addition to existing apps, counter part of seal cmd
libtpm_unseal_la_SOURCES = tpm_unseal.c
libtpm_unseal_la_LDFLAGS = -shared -version-info 1:0:0
-libtpm_unseal_la_LIBADD = -ltspi libtpm_tspi.la @INTLLIBS@
+libtpm_unseal_la_LIBADD = -ltspi libtpm_tspi.la -lcrypto @INTLLIBS@
all: all-am
.SUFFIXES:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/tpm_unseal.c new/lib/tpm_unseal.c
--- old/lib/tpm_unseal.c 2016-11-17 22:09:33.000000000 +0100
+++ new/lib/tpm_unseal.c 2017-02-21 03:23:56.000000000 +0100
@@ -408,7 +408,7 @@
}
/* Decode and decrypt the encrypted data */
- EVP_CIPHER_CTX *ctx = NULL;
+ EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new();
EVP_DecryptInit(ctx, EVP_aes_256_cbc(), symKey, (unsigned char *)TPMSEAL_IV);
/* Create a base64 BIO to decode the encrypted data */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/po/stamp-po new/po/stamp-po
--- old/po/stamp-po 2016-11-17 22:11:45.000000000 +0100
+++ new/po/stamp-po 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-timestamp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/src/cmds/tpm_sealdata.c new/src/cmds/tpm_sealdata.c
--- old/src/cmds/tpm_sealdata.c 2016-11-17 22:09:33.000000000 +0100
+++ new/src/cmds/tpm_sealdata.c 2017-02-21 03:23:56.000000000 +0100
@@ -343,7 +343,7 @@
BIO_puts(bdata, TPMSEAL_ENC_STRING);
bdata = BIO_push(b64, bdata);
- EVP_CIPHER_CTX *ctx = NULL;
+ EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new();
EVP_EncryptInit(ctx, EVP_aes_256_cbc(), randKey, (unsigned char *)TPMSEAL_IV);
while ((lineLen = BIO_read(bin, line, sizeof(line))) > 0) {