summaryrefslogtreecommitdiff
path: root/ext/standard/php_crypt_r.c
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2016-10-15 17:55:44 +0100
committerDavid Carlier <devnexen@gmail.com>2016-10-15 17:55:44 +0100
commit1ece76411499cecfefd55b59b934963a46ac488b (patch)
treeb5e0a94312498814e089e67b6f9bdad691115494 /ext/standard/php_crypt_r.c
parent2464dbd5f3dda7ab69f9217d802d08af0334ec71 (diff)
downloadphp-git-1ece76411499cecfefd55b59b934963a46ac488b.tar.gz
let s use the macro instead
Diffstat (limited to 'ext/standard/php_crypt_r.c')
-rw-r--r--ext/standard/php_crypt_r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/php_crypt_r.c b/ext/standard/php_crypt_r.c
index 27cc82af8b..582718b5ea 100644
--- a/ext/standard/php_crypt_r.c
+++ b/ext/standard/php_crypt_r.c
@@ -364,7 +364,7 @@ char * php_md5_crypt_r(const char *pw, const char *salt, char *out)
PHP_MD5Update(&ctx, final, (unsigned int)(pl > 16 ? 16 : pl));
/* Don't leave anything around in vm they could use. */
- explicit_bzero(final, sizeof(final));
+ ZEND_SECURE_ZERO(final, sizeof(final));
/* Then something really weird... */
for (i = pwl; i != 0; i >>= 1)