summaryrefslogtreecommitdiff
path: root/ext/hash/php_hash_md.h
diff options
context:
space:
mode:
authorRouven Weßling <rouven@contentful.com>2016-01-29 13:47:47 +0100
committerNikita Popov <nikic@php.net>2016-02-04 11:57:41 +0100
commit7e0459e7cef32a143f8c0eb80b8b85e74b19c615 (patch)
treea77a833853f69567af3c080324232eb4c739c445 /ext/hash/php_hash_md.h
parente93c28053d7d31853f59dc5adf0bfaff52819fb2 (diff)
downloadphp-git-7e0459e7cef32a143f8c0eb80b8b85e74b19c615.tar.gz
Replace usage of php_hash_uint32 and php_hash_uint64 with uint32_t and uint64_t.
Remove the unused php_hash_int32 and php_hash_int64.
Diffstat (limited to 'ext/hash/php_hash_md.h')
-rw-r--r--ext/hash/php_hash_md.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/hash/php_hash_md.h b/ext/hash/php_hash_md.h
index ea77eb5894..2e7121f37a 100644
--- a/ext/hash/php_hash_md.h
+++ b/ext/hash/php_hash_md.h
@@ -60,8 +60,8 @@
/* MD5 context. */
typedef struct {
- php_hash_uint32 state[4]; /* state (ABCD) */
- php_hash_uint32 count[2]; /* number of bits, modulo 2^64 (lsb first) */
+ uint32_t state[4]; /* state (ABCD) */
+ uint32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */
unsigned char buffer[64]; /* input buffer */
} PHP_MD5_CTX;
@@ -76,8 +76,8 @@ PHP_NAMED_FUNCTION(php_if_md5_file);
/* MD4 context */
typedef struct {
- php_hash_uint32 state[4];
- php_hash_uint32 count[2];
+ uint32_t state[4];
+ uint32_t count[2];
unsigned char buffer[64];
} PHP_MD4_CTX;