diff options
| author | jsing <> | 2015-09-10 15:56:26 +0000 |
|---|---|---|
| committer | jsing <> | 2015-09-10 15:56:26 +0000 |
| commit | 647569a51c1530d10e75e272f0982682f696caa7 (patch) | |
| tree | 27c1922db8e3f519794fe6a13a1dfba3d4759090 /src/lib/libcrypto/ec/ec_mult.c | |
| parent | 82208d32389873dc0a35e1efb027536202112bf6 (diff) | |
| download | openbsd-647569a51c1530d10e75e272f0982682f696caa7.tar.gz openbsd-647569a51c1530d10e75e272f0982682f696caa7.tar.bz2 openbsd-647569a51c1530d10e75e272f0982682f696caa7.zip | |
Correct spelling of OPENSSL_cleanse.
ok miod@
Diffstat (limited to 'src/lib/libcrypto/ec/ec_mult.c')
| -rw-r--r-- | src/lib/libcrypto/ec/ec_mult.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ec/ec_mult.c b/src/lib/libcrypto/ec/ec_mult.c index 68f55cfcb3..e428ac586b 100644 --- a/src/lib/libcrypto/ec/ec_mult.c +++ b/src/lib/libcrypto/ec/ec_mult.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ec_mult.c,v 1.18 2015/02/15 08:44:35 miod Exp $ */ | 1 | /* $OpenBSD: ec_mult.c,v 1.19 2015/09/10 15:56:25 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Originally written by Bodo Moeller and Nils Larsch for the OpenSSL project. | 3 | * Originally written by Bodo Moeller and Nils Larsch for the OpenSSL project. |
| 4 | */ | 4 | */ |
| @@ -173,11 +173,11 @@ ec_pre_comp_clear_free(void *pre_) | |||
| 173 | 173 | ||
| 174 | for (p = pre->points; *p != NULL; p++) { | 174 | for (p = pre->points; *p != NULL; p++) { |
| 175 | EC_POINT_clear_free(*p); | 175 | EC_POINT_clear_free(*p); |
| 176 | OPENSSL_cleanse(p, sizeof *p); | 176 | explicit_bzero(p, sizeof *p); |
| 177 | } | 177 | } |
| 178 | free(pre->points); | 178 | free(pre->points); |
| 179 | } | 179 | } |
| 180 | OPENSSL_cleanse(pre, sizeof *pre); | 180 | explicit_bzero(pre, sizeof *pre); |
| 181 | free(pre); | 181 | free(pre); |
| 182 | } | 182 | } |
| 183 | 183 | ||
