From 4f07bfcfe1e55b707189beb3841da04236c7111a Mon Sep 17 00:00:00 2001 From: Mattias Ellert Date: Sun, 15 Oct 2023 06:42:32 +0200 Subject: [PATCH] Fix FTBFS due to implicit declarations (rhbz#2241211) --- openssh-9.3p1-merged-openssl-evp.patch | 18 +++++++++++++++++- openssh.spec | 5 ++++- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/openssh-9.3p1-merged-openssl-evp.patch b/openssh-9.3p1-merged-openssl-evp.patch index 01f70e6..95d86c3 100644 --- a/openssh-9.3p1-merged-openssl-evp.patch +++ b/openssh-9.3p1-merged-openssl-evp.patch @@ -252,6 +252,16 @@ diff --color -ru -x regress -x autom4te.cache -x '*.o' -x '*.lo' -x Makefile -x #include +@@ -44,6 +44,9 @@ + #include "digest.h" + #define SSHKEY_INTERNAL + #include "sshkey.h" ++#ifdef ENABLE_PKCS11 ++#include "ssh-pkcs11.h" ++#endif + + #include "openbsd-compat/openssl-compat.h" + @@ -126,19 +128,29 @@ static int ssh_ecdsa_generate(struct sshkey *k, int bits) @@ -780,7 +790,13 @@ diff --color -ru -x regress -x autom4te.cache -x '*.o' -x '*.lo' -x Makefile -x #include #include -@@ -36,7 +38,7 @@ +@@ -36,10 +36,13 @@ + #include "sshkey.h" + #include "digest.h" + #include "log.h" ++#ifdef ENABLE_PKCS11 ++#include "ssh-pkcs11.h" ++#endif #include "openbsd-compat/openssl-compat.h" diff --git a/openssh.spec b/openssh.spec index 3a90210..c3f6567 100644 --- a/openssh.spec +++ b/openssh.spec @@ -47,7 +47,7 @@ # Do not forget to bump pam_ssh_agent_auth release if you rewind the main package release to 1 %global openssh_ver 9.3p1 -%global openssh_rel 11 +%global openssh_rel 12 %global pam_ssh_agent_ver 0.10.4 %global pam_ssh_agent_rel 9 @@ -744,6 +744,9 @@ test -f %{sysconfig_anaconda} && \ %endif %changelog +* Sun Oct 15 2023 Mattias Ellert - 9.3p1-12 +- Fix FTBFS due to implicit declarations (rhbz#2241211) + * Tue Sep 19 2023 Dmitry Belyavskiy - 9.3p1-11 - migrated to SPDX license