!333 fix the missing member of the struct Authmethod method_gsskeyex

From: @bitianyuan 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
This commit is contained in:
openeuler-ci-bot 2025-01-14 12:43:03 +00:00 committed by Gitee
commit 38de450321
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 9 additions and 2 deletions

View File

@ -221,12 +221,13 @@ index 9351e042..d6446c0c 100644
else else
logit("GSSAPI MIC check failed"); logit("GSSAPI MIC check failed");
@@ -326,6 +370,12 @@ input_gssapi_mic(int type, u_int32_t plen, struct ssh *ssh) @@ -326,6 +370,13 @@ input_gssapi_mic(int type, u_int32_t plen, struct ssh *ssh)
return 0; return 0;
} }
+Authmethod method_gsskeyex = { +Authmethod method_gsskeyex = {
+ "gssapi-keyex", + "gssapi-keyex",
+ NULL,
+ userauth_gsskeyex, + userauth_gsskeyex,
+ &options.gss_authentication + &options.gss_authentication
+}; +};

View File

@ -6,7 +6,7 @@
%{?no_gtk2:%global gtk2 0} %{?no_gtk2:%global gtk2 0}
%global sshd_uid 74 %global sshd_uid 74
%global openssh_release 6 %global openssh_release 7
Name: openssh Name: openssh
Version: 9.3p2 Version: 9.3p2
@ -493,6 +493,12 @@ getent passwd sshd >/dev/null || \
%attr(0644,root,root) %{_mandir}/man8/sftp-server.8* %attr(0644,root,root) %{_mandir}/man8/sftp-server.8*
%changelog %changelog
* Tue Jan 14 2025 bitianyuan <bitianyuan@huawei.com> - 9.3p2-7
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix the missing member of the struct Authmethod method_gsskeyex
* Tue Oct 29 2024 bitianyuan <bitianyuan@huawei.com> - 9.3p2-6 * Tue Oct 29 2024 bitianyuan <bitianyuan@huawei.com> - 9.3p2-6
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA