aws-sigv4: make signature work when post data is binary

User sets the post fields size for binary data.  Hence, we should not be
using strlen on it.

Added test 1937 and 1938 to verify.

Closes #7844
This commit is contained in:
Abhinav Singh 2021-10-12 15:32:27 +05:30 committed by Daniel Stenberg
parent 7759552b80
commit 8c6f126279
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
8 changed files with 219 additions and 3 deletions

View file

@ -80,3 +80,4 @@ Michał Antoniak <47522782+MAntoniak@users.noreply.github.com>
Gleb Ivanovsky <gl.ivanovsky@gmail.com>
Max Dymond <max.dymond@microsoft.com> <max.dymond@metaswitch.com>
Max Dymond <max.dymond@microsoft.com> <cmeister2@gmail.com>
Abhinav Singh <theawless@gmail.com>