=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/Attic/cipher-3des1.c,v retrieving revision 1.8 retrieving revision 1.8.2.1 diff -u -r1.8 -r1.8.2.1 --- src/usr.bin/ssh/Attic/cipher-3des1.c 2013/05/17 00:13:13 1.8 +++ src/usr.bin/ssh/Attic/cipher-3des1.c 2013/11/08 01:33:56 1.8.2.1 @@ -1,4 +1,4 @@ -/* $OpenBSD: cipher-3des1.c,v 1.8 2013/05/17 00:13:13 djm Exp $ */ +/* $OpenBSD: cipher-3des1.c,v 1.8.2.1 2013/11/08 01:33:56 djm Exp $ */ /* * Copyright (c) 2003 Markus Friedl. All rights reserved. * @@ -62,7 +62,7 @@ u_char *k1, *k2, *k3; if ((c = EVP_CIPHER_CTX_get_app_data(ctx)) == NULL) { - c = xmalloc(sizeof(*c)); + c = xcalloc(1, sizeof(*c)); EVP_CIPHER_CTX_set_app_data(ctx, c); } if (key == NULL)