=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/Attic/cipher-3des1.c,v retrieving revision 1.7 retrieving revision 1.7.10.1 diff -u -r1.7 -r1.7.10.1 --- src/usr.bin/ssh/Attic/cipher-3des1.c 2010/10/01 23:05:32 1.7 +++ src/usr.bin/ssh/Attic/cipher-3des1.c 2013/11/08 05:52:21 1.7.10.1 @@ -1,4 +1,4 @@ -/* $OpenBSD: cipher-3des1.c,v 1.7 2010/10/01 23:05:32 djm Exp $ */ +/* $OpenBSD: cipher-3des1.c,v 1.7.10.1 2013/11/08 05:52:21 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)