From 87ae5d1d5a84ab6a3d1b573eb270a2c6bfb458de Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Dec 22 2023 16:01:38 +0000 Subject: Fix type errors in downstream gssapi-keyex patch Related to: --- diff --git a/openssh-8.0p1-gssapi-keyex.patch b/openssh-8.0p1-gssapi-keyex.patch index 0bc509f..89bcd0d 100644 --- a/openssh-8.0p1-gssapi-keyex.patch +++ b/openssh-8.0p1-gssapi-keyex.patch @@ -1655,7 +1655,7 @@ index 00000000..f6e1405e + do { + type = ssh_packet_read(ssh); + if (type == SSH2_MSG_KEXGSS_HOSTKEY) { -+ char *tmp = NULL; ++ u_char *tmp = NULL; + size_t tmp_len = 0; + + debug("Received KEXGSS_HOSTKEY"); @@ -1951,7 +1951,7 @@ index 00000000..f6e1405e + do { + type = ssh_packet_read(ssh); + if (type == SSH2_MSG_KEXGSS_HOSTKEY) { -+ char *tmp = NULL; ++ u_char *tmp = NULL; + size_t tmp_len = 0; + + debug("Received KEXGSS_HOSTKEY"); diff --git a/openssh.spec b/openssh.spec index fefba3f..3076ac0 100644 --- a/openssh.spec +++ b/openssh.spec @@ -54,7 +54,7 @@ Summary: An open source implementation of SSH protocol version 2 Name: openssh Version: %{openssh_ver} -Release: %{openssh_rel}%{?dist} +Release: %{openssh_rel}%{?dist}.1 URL: http://www.openssh.com/portable.html #URL1: https://github.com/jbeverly/pam_ssh_agent_auth/ Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz @@ -306,7 +306,7 @@ Requires: openssh = %{version}-%{release} %package -n pam_ssh_agent_auth Summary: PAM module for authentication with ssh-agent Version: %{pam_ssh_agent_ver} -Release: %{pam_ssh_agent_rel}.%{openssh_rel}%{?dist} +Release: %{pam_ssh_agent_rel}.%{openssh_rel}%{?dist}.1 License: BSD-3-Clause AND BSD-2-Clause AND ISC AND SSH-OpenSSH AND ssh-keyscan AND sprintf AND LicenseRef-Fedora-Public-Domain AND X11-distribute-modifications-variant AND OpenSSL %description @@ -744,6 +744,9 @@ test -f %{sysconfig_anaconda} && \ %endif %changelog +* Fri Dec 22 2023 Florian Weimer - 9.3p1-13.1 +- Fix type errors in downstream gssapi-keyex patch + * Mon Oct 16 2023 Mattias Ellert - 9.3p1-13 - Fix issue with read-only ssh buffer during gssapi key exchange (rhbz#1938224) - https://github.com/openssh-gsskex/openssh-gsskex/pull/19