summaryrefslogtreecommitdiff
path: root/ext/soap/php_http.c
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2016-03-03 23:13:50 +0100
committerNikita Popov <nikic@php.net>2016-03-03 23:20:12 +0100
commit5602f6421372848a6fbb23fbe6bbca47d94dd49a (patch)
tree6ac033d376ecbb817b71895dfa92b96fc351c73e /ext/soap/php_http.c
parent3240dd93b3f8a92ae587df20d7e07d436d0be2a9 (diff)
downloadphp-git-5602f6421372848a6fbb23fbe6bbca47d94dd49a.tar.gz
Eliminate usages of _PP macros
These are either in debug code (fix them), commented out (drop them) or in dead compatibility macros (drop them). One usage was in php_stream_get_from_zval(), which we have not used since at least PHP 5.2 and, judging from the fact that nobody complained about it causing compile errors in PHP 7, nobody else uses it either, so drop it. There are still remaining uses in mysqli embedded and odbc birdstep. These probably need to be dropped outright.
Diffstat (limited to 'ext/soap/php_http.c')
-rw-r--r--ext/soap/php_http.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c
index a2d0b6207d..7c9183613c 100644
--- a/ext/soap/php_http.c
+++ b/ext/soap/php_http.c
@@ -700,16 +700,6 @@ try_again:
PHP_MD5Update(&md5ctx, (unsigned char*)phpurl->query, strlen(phpurl->query));
}
- /* TODO: Support for qop="auth-int" */
-/*
- if (zend_hash_find(Z_ARRVAL_PP(digest), "qop", sizeof("qop"), (void **)&tmp) == SUCCESS &&
- Z_TYPE_PP(tmp) == IS_STRING &&
- Z_STRLEN_PP(tmp) == sizeof("auth-int")-1 &&
- stricmp(Z_STRVAL_PP(tmp), "auth-int") == 0) {
- PHP_MD5Update(&md5ctx, ":", 1);
- PHP_MD5Update(&md5ctx, HEntity, HASHHEXLEN);
- }
-*/
PHP_MD5Final(hash, &md5ctx);
make_digest(HA2, hash);