summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sshd.c b/sshd.c
index 88ce79028..dd8f6d83d 100644
--- a/sshd.c
+++ b/sshd.c
@@ -40,7 +40,7 @@
40 */ 40 */
41 41
42#include "includes.h" 42#include "includes.h"
43RCSID("$OpenBSD: sshd.c,v 1.165 2001/02/08 19:30:53 itojun Exp $"); 43RCSID("$OpenBSD: sshd.c,v 1.166 2001/02/11 12:59:25 markus Exp $");
44 44
45#include <openssl/dh.h> 45#include <openssl/dh.h>
46#include <openssl/bn.h> 46#include <openssl/bn.h>
@@ -1412,6 +1412,10 @@ do_ssh2_kex(void)
1412 myproposal[PROPOSAL_ENC_ALGS_CTOS] = 1412 myproposal[PROPOSAL_ENC_ALGS_CTOS] =
1413 myproposal[PROPOSAL_ENC_ALGS_STOC] = options.ciphers; 1413 myproposal[PROPOSAL_ENC_ALGS_STOC] = options.ciphers;
1414 } 1414 }
1415 if (options.macs != NULL) {
1416 myproposal[PROPOSAL_MAC_ALGS_CTOS] =
1417 myproposal[PROPOSAL_MAC_ALGS_STOC] = options.macs;
1418 }
1415 myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = list_hostkey_types(); 1419 myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = list_hostkey_types();
1416 1420
1417 server_kexinit = kex_init(myproposal); 1421 server_kexinit = kex_init(myproposal);