From 1b9402de2dd1b97eca2be1996ed51c82f0663c92 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Thu, 10 Sep 2015 15:56:26 +0000 Subject: Correct spelling of OPENSSL_cleanse. ok miod@ --- src/lib/libcrypto/ec/ec_lib.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lib/libcrypto/ec/ec_lib.c') diff --git a/src/lib/libcrypto/ec/ec_lib.c b/src/lib/libcrypto/ec/ec_lib.c index a12a2ffbb6..c28ab18fc0 100644 --- a/src/lib/libcrypto/ec/ec_lib.c +++ b/src/lib/libcrypto/ec/ec_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec_lib.c,v 1.18 2015/05/20 04:33:35 miod Exp $ */ +/* $OpenBSD: ec_lib.c,v 1.19 2015/09/10 15:56:25 jsing Exp $ */ /* * Originally written by Bodo Moeller for the OpenSSL project. */ @@ -152,10 +152,10 @@ EC_GROUP_clear_free(EC_GROUP * group) BN_clear_free(&group->cofactor); if (group->seed) { - OPENSSL_cleanse(group->seed, group->seed_len); + explicit_bzero(group->seed, group->seed_len); free(group->seed); } - OPENSSL_cleanse(group, sizeof *group); + explicit_bzero(group, sizeof *group); free(group); } @@ -754,7 +754,7 @@ EC_POINT_clear_free(EC_POINT * point) point->meth->point_clear_finish(point); else if (point->meth->point_finish != 0) point->meth->point_finish(point); - OPENSSL_cleanse(point, sizeof *point); + explicit_bzero(point, sizeof *point); free(point); } -- cgit v1.2.3-55-g6feb