com php-src: Fix reflection arguments for sodium_memzero fu nction: ext/sodium/libsodium.c

From: Date: Sat, 29 Sep 2018 19:19:42 +0000
Subject: com php-src: Fix reflection arguments for sodium_memzero fu nction: ext/sodium/libsodium.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-103273@lists.php.net to get a copy of this message
Commit: 950c338f8012f8ca4a2928cc833fb7efa05a905e Author: James Titcumb <james@asgrim.com> Sat, 29 Sep 2018 19:14:53 +0200 Committer: Nikita Popov <nikita.ppv@gmail.com> Sat, 29 Sep 2018 21:19:42 +0200 Parents: 8e7dfc6ddf97db89871cc296ea68a31c72312121 Branches: PHP-7.2 PHP-7.3 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=950c338f8012f8ca4a2928cc833fb7efa05a905e Log: Fix reflection arguments for sodium_memzero function Changed paths: M ext/sodium/libsodium.c Diff: diff --git a/ext/sodium/libsodium.c b/ext/sodium/libsodium.c index 7b5e791..e168aad 100644 --- a/ext/sodium/libsodium.c +++ b/ext/sodium/libsodium.c @@ -37,9 +37,8 @@ static zend_class_entry *sodium_exception_ce; ZEND_BEGIN_ARG_INFO_EX(AI_None, 0, 0, 0) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(AI_FirstArgByReferenceSecondLength, 0, 0, 2) +ZEND_BEGIN_ARG_INFO_EX(AI_FirstArgByReference, 0, 0, 1) ZEND_ARG_INFO(1, reference) - ZEND_ARG_INFO(0, length) ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO_EX(AI_String, 0, 0, 1) @@ -339,7 +338,7 @@ const zend_function_entry sodium_functions[] = { PHP_FE(sodium_compare, AI_TwoStrings) PHP_FE(sodium_increment, AI_StringRef) PHP_FE(sodium_memcmp, AI_TwoStrings) - PHP_FE(sodium_memzero, AI_FirstArgByReferenceSecondLength) + PHP_FE(sodium_memzero, AI_FirstArgByReference) PHP_FE(sodium_pad, AI_StringAndLength) PHP_FE(sodium_unpad, AI_StringAndLength)

« previous php.cvs (#103273) next »