diff options
author | Greg Beaver <cellog@php.net> | 2008-10-09 00:50:47 +0000 |
---|---|---|
committer | Greg Beaver <cellog@php.net> | 2008-10-09 00:50:47 +0000 |
commit | fffdf661c95b15896d4c60060ca00e6adfb0da0e (patch) | |
tree | a8c173a6e1db39a6eb6ed8956752864835af4615 /ext/phar/util.c | |
parent | 529105427e5af3d6b7366b22abf4660b8fb407a9 (diff) | |
download | php-git-fffdf661c95b15896d4c60060ca00e6adfb0da0e.tar.gz |
fix bug #45907: undefined reference to PHP_SHA512Init
Diffstat (limited to 'ext/phar/util.c')
-rw-r--r-- | ext/phar/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/phar/util.c b/ext/phar/util.c index 0701cb8803..7e9c50ac64 100644 --- a/ext/phar/util.c +++ b/ext/phar/util.c @@ -1875,7 +1875,7 @@ int phar_verify_signature(php_stream *fp, size_t end_of_phar, php_uint32 sig_typ *signature_len = phar_hex_str((const char*)sig, sig_len, signature TSRMLS_CC); } break; -#ifdef HAVE_HASH_EXT +#ifdef PHAR_HASH_OK case PHAR_SIG_SHA512: { unsigned char digest[64]; PHP_SHA512_CTX context; @@ -2039,7 +2039,7 @@ int phar_create_signature(phar_archive_data *phar, php_stream *fp, char **signat } switch(phar->sig_flags) { -#ifdef HAVE_HASH_EXT +#ifdef PHAR_HASH_OK case PHAR_SIG_SHA512: { unsigned char digest[64]; PHP_SHA512_CTX context; |