diff options
Diffstat (limited to 'src/lib/libcrypto/ec/ecp_nistp224.c')
-rw-r--r-- | src/lib/libcrypto/ec/ecp_nistp224.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ec/ecp_nistp224.c b/src/lib/libcrypto/ec/ecp_nistp224.c index 38dd83b6d9..fce74578c7 100644 --- a/src/lib/libcrypto/ec/ecp_nistp224.c +++ b/src/lib/libcrypto/ec/ecp_nistp224.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecp_nistp224.c,v 1.18 2017/01/29 17:49:23 beck Exp $ */ | 1 | /* $OpenBSD: ecp_nistp224.c,v 1.19 2017/05/02 03:59:44 deraadt Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Emilia Kasper (Google) for the OpenSSL project. | 3 | * Written by Emilia Kasper (Google) for the OpenSSL project. |
4 | */ | 4 | */ |
@@ -1239,8 +1239,7 @@ nistp224_pre_comp_clear_free(void *pre_) | |||
1239 | if (i > 0) | 1239 | if (i > 0) |
1240 | return; | 1240 | return; |
1241 | 1241 | ||
1242 | explicit_bzero(pre, sizeof *pre); | 1242 | freezero(pre, sizeof *pre); |
1243 | free(pre); | ||
1244 | } | 1243 | } |
1245 | 1244 | ||
1246 | /******************************************************************************/ | 1245 | /******************************************************************************/ |