Skip to content

Commit b617a5b

Browse files
committed
Merge branch 'PHP-7.2' into PHP-7.3
2 parents 8b8b625 + 950c338 commit b617a5b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ext/sodium/libsodium.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ static zend_class_entry *sodium_exception_ce;
3737
ZEND_BEGIN_ARG_INFO_EX(AI_None, 0, 0, 0)
3838
ZEND_END_ARG_INFO()
3939

40-
ZEND_BEGIN_ARG_INFO_EX(AI_FirstArgByReferenceSecondLength, 0, 0, 2)
40+
ZEND_BEGIN_ARG_INFO_EX(AI_FirstArgByReference, 0, 0, 1)
4141
ZEND_ARG_INFO(1, reference)
42-
ZEND_ARG_INFO(0, length)
4342
ZEND_END_ARG_INFO()
4443

4544
ZEND_BEGIN_ARG_INFO_EX(AI_String, 0, 0, 1)
@@ -339,7 +338,7 @@ static const zend_function_entry sodium_functions[] = {
339338
PHP_FE(sodium_compare, AI_TwoStrings)
340339
PHP_FE(sodium_increment, AI_StringRef)
341340
PHP_FE(sodium_memcmp, AI_TwoStrings)
342-
PHP_FE(sodium_memzero, AI_FirstArgByReferenceSecondLength)
341+
PHP_FE(sodium_memzero, AI_FirstArgByReference)
343342
PHP_FE(sodium_pad, AI_StringAndLength)
344343
PHP_FE(sodium_unpad, AI_StringAndLength)
345344

0 commit comments

Comments
 (0)