diff options
Diffstat (limited to 'ext/hash/hash_gost.c')
-rw-r--r-- | ext/hash/hash_gost.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/hash/hash_gost.c b/ext/hash/hash_gost.c index 46ea032c32..d1f4a31765 100644 --- a/ext/hash/hash_gost.c +++ b/ext/hash/hash_gost.c @@ -235,15 +235,15 @@ static inline void GostTransform(PHP_GOST_CTX *context, const unsigned char inpu Gost(context, data); } -PHP_HASH_API void PHP_GOSTInit(PHP_GOST_CTX *context) +PHP_HASH_API void PHP_GOSTInit(PHP_GOST_CTX *context, ZEND_ATTRIBUTE_UNUSED HashTable *args) { memset(context, 0, sizeof(*context)); context->tables = &tables_test; } -PHP_HASH_API void PHP_GOSTInitCrypto(PHP_GOST_CTX *context) +PHP_HASH_API void PHP_GOSTInitCrypto(PHP_GOST_CTX *context, ZEND_ATTRIBUTE_UNUSED HashTable *args) { - PHP_GOSTInit(context); + PHP_GOSTInit(context, NULL); context->tables = &tables_crypto; } |