summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-02-15 03:01:59 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-02-15 03:01:59 +0000
commit06b33aa0e83163f3dcd679317afec1ee95910512 (patch)
treeeae5cbd1cd71619bdd1e5d4a28e6bb96057f4479 /sshd.c
parent4272ed803ff309f1fdb9c149b9cf083769f53744 (diff)
- markus@cvs.openbsd.org 2001/02/11 12:59:25
[Makefile.in sshd.8 sshconnect2.c readconf.h readconf.c packet.c sshd.c ssh.c ssh.1 servconf.h servconf.c myproposal.h kex.h kex.c] 1) clean up the MAC support for SSH-2 2) allow you to specify the MAC with 'ssh -m' 3) or the 'MACs' keyword in ssh(d)_config 4) add hmac-{md5,sha1}-96 ok stevesk@, provos@
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);