=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/digest-openssl.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- src/usr.bin/ssh/digest-openssl.c 2014/01/28 20:13:46 1.1 +++ src/usr.bin/ssh/digest-openssl.c 2014/02/02 03:44:31 1.2 @@ -1,4 +1,4 @@ -/* $OpenBSD: digest-openssl.c,v 1.1 2014/01/28 20:13:46 markus Exp $ */ +/* $OpenBSD: digest-openssl.c,v 1.2 2014/02/02 03:44:31 djm Exp $ */ /* * Copyright (c) 2013 Damien Miller * @@ -134,7 +134,7 @@ { if (ctx != NULL) { EVP_MD_CTX_cleanup(&ctx->mdctx); - memset(ctx, 0, sizeof(*ctx)); + explicit_bzero(ctx, sizeof(*ctx)); free(ctx); } }