Skip to content

Commit

Permalink
upstream: missing ifdef
Browse files Browse the repository at this point in the history
OpenBSD-Commit-ID: 85f09da957dd39fd0abe08fe5ee19393f25c2021
  • Loading branch information
djmdjm committed Sep 2, 2024
1 parent f68312e commit 51b8264
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sshd-session.c
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 51b8264

Please sign in to comment.