mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-24 19:02:06 +00:00
- markus@cvs.openbsd.org 2013/11/06 16:52:11
[monitor_wrap.c] fix rekeying for AES-GCM modes; ok deraadt
This commit is contained in:
parent
67a8800f29
commit
49c145c5e8
@ -10,6 +10,9 @@
|
||||
[monitor.c]
|
||||
fix rekeying for KEX_C25519_SHA256; noted by dtucker@
|
||||
RCSID sync only; I thought this was a merge botch and fixed it already
|
||||
- markus@cvs.openbsd.org 2013/11/06 16:52:11
|
||||
[monitor_wrap.c]
|
||||
fix rekeying for AES-GCM modes; ok deraadt
|
||||
|
||||
20131104
|
||||
- (djm) OpenBSD CVS Sync
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: monitor_wrap.c,v 1.76 2013/05/17 00:13:13 djm Exp $ */
|
||||
/* $OpenBSD: monitor_wrap.c,v 1.77 2013/11/06 16:52:11 markus Exp $ */
|
||||
/*
|
||||
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
|
||||
* Copyright 2002 Markus Friedl <markus@openbsd.org>
|
||||
@ -482,7 +482,7 @@ mm_newkeys_from_blob(u_char *blob, int blen)
|
||||
buffer_init(&b);
|
||||
buffer_append(&b, blob, blen);
|
||||
|
||||
newkey = xmalloc(sizeof(*newkey));
|
||||
newkey = xcalloc(1, sizeof(*newkey));
|
||||
enc = &newkey->enc;
|
||||
mac = &newkey->mac;
|
||||
comp = &newkey->comp;
|
||||
|
Loading…
Reference in New Issue
Block a user