diff options
author | Andrey Hristov <andrey@php.net> | 2015-11-17 14:59:59 +0100 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2015-11-17 14:59:59 +0100 |
commit | a6b79f08b32ac1a25d855ea72458788f7d10c204 (patch) | |
tree | 24a53bd62d0681a530f51511d32accb20ed48443 /ext/mysqlnd/mysqlnd_auth.c | |
parent | 4ee4a4bb52b6c6d59a72df9a9379c1ac80a8ab64 (diff) | |
download | php-git-a6b79f08b32ac1a25d855ea72458788f7d10c204.tar.gz |
More const and moved the declaration of php_mysqlnd_scramble() to mysqlnd_auth.h
Diffstat (limited to 'ext/mysqlnd/mysqlnd_auth.c')
-rw-r--r-- | ext/mysqlnd/mysqlnd_auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_auth.c b/ext/mysqlnd/mysqlnd_auth.c index fb70884df8..13efc05461 100644 --- a/ext/mysqlnd/mysqlnd_auth.c +++ b/ext/mysqlnd/mysqlnd_auth.c @@ -526,7 +526,7 @@ php_mysqlnd_crypt(zend_uchar *buffer, const zend_uchar *s1, const zend_uchar *s2 /* {{{ php_mysqlnd_scramble */ -void php_mysqlnd_scramble(zend_uchar * const buffer, const zend_uchar * const scramble, const zend_uchar * const password, size_t password_len) +void php_mysqlnd_scramble(zend_uchar * const buffer, const zend_uchar * const scramble, const zend_uchar * const password, const size_t password_len) { PHP_SHA1_CTX context; zend_uchar sha1[SHA1_MAX_LENGTH]; |