[openssh-commits] [openssh] 02/02: upstream: missing ifdef
git+noreply at mindrot.org
git+noreply at mindrot.org
Mon Sep 2 22:34:15 AEST 2024
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit 51b82648b6827675fc0cde21175fd1ed8e89aab2
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Mon Sep 2 12:18:35 2024 +0000
upstream: missing ifdef
OpenBSD-Commit-ID: 85f09da957dd39fd0abe08fe5ee19393f25c2021
---
sshd-session.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/sshd-session.c b/sshd-session.c
index dc8154a9..cfdbf7c1 100644
--- a/sshd-session.c
+++ b/sshd-session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshd-session.c,v 1.7 2024/09/02 12:13:56 djm Exp $ */
+/* $OpenBSD: sshd-session.c,v 1.8 2024/09/02 12:18:35 djm Exp $ */
/*
* SSH2 implementation:
* Privilege Separation:
@@ -1465,7 +1465,9 @@ do_ssh2_kex(struct ssh *ssh)
#endif
kex->kex[KEX_C25519_SHA256] = kex_gen_server;
kex->kex[KEX_KEM_SNTRUP761X25519_SHA512] = kex_gen_server;
- kex->kex[KEX_KEM_MLKEM768X25519_SHA256] = kex_gen_server;
+#ifdef WITH_MLKEM
+ kex->kex[KEX_KEM_MLKEM768X25519_SHA256] = kex_gen_server;
+#endif
kex->load_host_public_key=&get_hostkey_public_by_type;
kex->load_host_private_key=&get_hostkey_private_by_type;
kex->host_key_index=&get_hostkey_index;
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list