From be4aadb5384fd8b97c927f3ef48383dc5b23b345 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Tue, 24 Nov 2020 15:52:15 +0300 Subject: md5 -> sha512 h2c tests fcgi tests plugin tests updated --- tests/http/upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/http/upload.php b/tests/http/upload.php index bb4af766..57526246 100644 --- a/tests/http/upload.php +++ b/tests/http/upload.php @@ -24,7 +24,7 @@ function handleRequest(ServerRequestInterface $req, ResponseInterface $resp): Re 'size' => $v->getSize(), 'mime' => $v->getClientMediaType(), 'error' => $v->getError(), - 'md5' => md5($v->getStream()->__toString()), + 'sha512' => hash('sha512', $v->getStream()->__toString()), ]; } }); -- cgit v1.2.3