[mod_http_cache] Fix the query string not included for HTTP PUT requests to s3

This commit is contained in:
tomeeo 2021-07-23 17:04:59 -04:00 committed by GitHub
parent 08c2bf94a7
commit dd1e0c1605
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@
*/
static char *hmac256(char* buffer, unsigned int buffer_length, const char* key, unsigned int key_length, const char* message)
{
if (zstr(key) || zstr(message) || buffer_length < SHA256_DIGEST_LENGTH) {
if (!key || zstr(message) || buffer_length < SHA256_DIGEST_LENGTH) {
return NULL;
}