Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openssl_tpm2_engine for 
openSUSE:Factory checked in at 2022-12-03 10:03:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openssl_tpm2_engine (Old)
 and      /work/SRC/openSUSE:Factory/.openssl_tpm2_engine.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openssl_tpm2_engine"

Sat Dec  3 10:03:49 2022 rev:8 rq:1039648 version:3.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/openssl_tpm2_engine/openssl_tpm2_engine.changes  
2022-03-18 16:49:25.209501911 +0100
+++ 
/work/SRC/openSUSE:Factory/.openssl_tpm2_engine.new.1835/openssl_tpm2_engine.changes
        2022-12-03 10:04:05.115389906 +0100
@@ -1,0 +2,7 @@
+Fri Dec  2 17:43:52 UTC 2022 - [email protected]
+
+- Update to version 3.1.2
+  * Fix segfault in unseal_tpm2_key
+  * Fix pcr sealing error in create_tpm2_key caused by uncleared stack
+
+-------------------------------------------------------------------

Old:
----
  openssl_tpm2_engine-3.1.1.tar.gz

New:
----
  openssl_tpm2_engine-3.1.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ openssl_tpm2_engine.spec ++++++
--- /var/tmp/diff_new_pack.pqa7fT/_old  2022-12-03 10:04:05.619392707 +0100
+++ /var/tmp/diff_new_pack.pqa7fT/_new  2022-12-03 10:04:05.623392729 +0100
@@ -18,7 +18,7 @@
 
 
 Name:           openssl_tpm2_engine
-Version:        3.1.1
+Version:        3.1.2
 Release:        0
 Summary:        OpenSSL TPM 2.0 interface engine plugin
 License:        LGPL-2.1-only

++++++ openssl_tpm2_engine-3.1.1.tar.gz -> openssl_tpm2_engine-3.1.2.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openssl_tpm2_engine-3.1.1/configure.ac 
new/openssl_tpm2_engine-3.1.2/configure.ac
--- old/openssl_tpm2_engine-3.1.1/configure.ac  2022-03-01 14:24:28.000000000 
+0100
+++ new/openssl_tpm2_engine-3.1.2/configure.ac  2022-12-01 22:42:48.000000000 
+0100
@@ -2,7 +2,7 @@
 # configure.in for the OpenSSL TPM engine project
 #
 
-AC_INIT(openssl-tpm2-engine, 3.1.1, <[email protected]>)
+AC_INIT(openssl-tpm2-engine, 3.1.2, <[email protected]>)
 AM_INIT_AUTOMAKE([foreign 1.6.3])
 AC_CANONICAL_HOST
 AM_CONDITIONAL(NATIVE_BUILD, test "x$cross_compiling" = "xno")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openssl_tpm2_engine-3.1.1/create_tpm2_key.c 
new/openssl_tpm2_engine-3.1.2/create_tpm2_key.c
--- old/openssl_tpm2_engine-3.1.1/create_tpm2_key.c     2022-03-01 
14:24:28.000000000 +0100
+++ new/openssl_tpm2_engine-3.1.2/create_tpm2_key.c     2022-12-01 
22:42:48.000000000 +0100
@@ -821,11 +821,9 @@
        ENCRYPTED_SECRET_2B secret, *enc_secret = NULL;
        int restricted = 0;
        char *parent_str = NULL;
-       TPML_PCR_SELECTION pcr_lock;
+       TPML_PCR_SELECTION pcr_lock = { 0 };
        int has_policy = 0;
 
-       pcr_lock.count = 0;
-
        OpenSSL_add_all_digests();
        /* may be needed to decrypt the key */
        OpenSSL_add_all_ciphers();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openssl_tpm2_engine-3.1.1/tpm2-common.c 
new/openssl_tpm2_engine-3.1.2/tpm2-common.c
--- old/openssl_tpm2_engine-3.1.1/tpm2-common.c 2022-03-01 14:24:28.000000000 
+0100
+++ new/openssl_tpm2_engine-3.1.2/tpm2-common.c 2022-12-01 22:42:48.000000000 
+0100
@@ -1578,7 +1578,8 @@
        if (ppkey)
                EVP_PKEY_free(*ppkey);
  err_free:
-       *ppkey = NULL;
+       if (ppkey)
+               *ppkey = NULL;
 
        tpm2_delete(ad);
  err:

Reply via email to