summaryrefslogtreecommitdiff
path: root/ext/standard/sha1.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/sha1.c')
-rw-r--r--ext/standard/sha1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/sha1.c b/ext/standard/sha1.c
index 58bd91385c..810871212c 100644
--- a/ext/standard/sha1.c
+++ b/ext/standard/sha1.c
@@ -30,7 +30,7 @@ PHPAPI void make_sha1_digest(char *sha1str, const unsigned char *digest)
PHP_FUNCTION(sha1)
{
zend_string *arg;
- zend_bool raw_output = 0;
+ bool raw_output = 0;
PHP_SHA1_CTX context;
unsigned char digest[20];
@@ -60,7 +60,7 @@ PHP_FUNCTION(sha1_file)
{
char *arg;
size_t arg_len;
- zend_bool raw_output = 0;
+ bool raw_output = 0;
unsigned char buf[1024];
unsigned char digest[20];
PHP_SHA1_CTX context;
@@ -152,7 +152,7 @@ static const unsigned char PADDING[64] =
/* {{{ PHP_SHA1Init
* SHA1 initialization. Begins an SHA1 operation, writing a new context.
*/
-PHPAPI void PHP_SHA1Init(PHP_SHA1_CTX * context)
+PHPAPI void PHP_SHA1InitArgs(PHP_SHA1_CTX * context, ZEND_ATTRIBUTE_UNUSED HashTable *args)
{
context->count[0] = context->count[1] = 0;
/* Load magic initialization constants.