I uploaded a NMU with the enclosed changes to unblock the openssl migration.
diff -Nru tpm2-pkcs11-1.7.0/debian/changelog tpm2-pkcs11-1.7.0/debian/changelog
--- tpm2-pkcs11-1.7.0/debian/changelog 2021-10-17 11:06:37.000000000 +0200
+++ tpm2-pkcs11-1.7.0/debian/changelog 2022-05-21 10:49:57.000000000 +0200
@@ -1,3 +1,10 @@
+tpm2-pkcs11 (1.7.0-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload
+ * Correct version number patch (disables -Werror, Closes: #1006586)
+
+ -- Bastian Germann <b...@debian.org> Sat, 21 May 2022 10:49:57 +0200
+
tpm2-pkcs11 (1.7.0-1) unstable; urgency=medium
* Import new upstream release (Closes: #984368)
diff -Nru tpm2-pkcs11-1.7.0/debian/patches/remove-aclocal-git-command.patch
tpm2-pkcs11-1.7.0/debian/patches/remove-aclocal-git-command.patch
--- tpm2-pkcs11-1.7.0/debian/patches/remove-aclocal-git-command.patch
2021-01-22 07:54:34.000000000 +0100
+++ tpm2-pkcs11-1.7.0/debian/patches/remove-aclocal-git-command.patch
2022-05-21 10:49:57.000000000 +0200
@@ -11,11 +11,12 @@
index d984249..eea8ece 100644
--- a/configure.ac
+++ b/configure.ac
-@@ -1,7 +1,6 @@
+@@ -1,7 +1,7 @@
# SPDX-License-Identifier: BSD-2-Clause
AC_INIT([tpm2-pkcs11],
- [m4_esyscmd_s([git describe --tags --always --dirty])],
++ [$DEB_VERSION_UPSTREAM],
[https://github.com/tpm2-software/tpm2-pkcs11/issues],
[],
[https://github.com/tpm2-software/tpm2-pkcs11])