curl/tests/libtest
Casey Bodley fcf8f68546
test/aws_sigv4: test cases for content-sha256
1956 adds the sha256 value corresponding to an empty buffer
1957 adds an arbitrary value and confirms that the signature differs from 1956
1958 adds whitespace to 1957 and confirms that the signature matches 1957
1959 adds a value longer than 'char sha_hex[65]' in Curl_output_aws_sigv4()

Signed-off-by: Casey Bodley <cbodley@redhat.com>

Closes #9804
2022-11-25 09:24:43 +01:00
..
.checksrc checksrc: ban gmtime/localtime 2020-07-28 23:51:17 +02:00
.gitignore test3100: RTSP Basic authentication 2022-11-09 09:40:07 +01:00
chkdecimalpoint.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
chkhostname.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
CMakeLists.txt copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
first.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib500.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib501.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib502.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib503.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib504.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib505.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib506.c style: use space after comment start and before comment end 2022-10-30 22:31:29 +01:00
lib507.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib508.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib509.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib510.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib511.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib512.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib513.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib514.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib515.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib516.c lib: feature deprecation warnings in gcc >= 4.3 2022-11-15 10:57:29 +01:00
lib517.c lib517: fix C89 constant signedness 2022-09-22 23:08:08 +02:00
lib518.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib519.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib520.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib521.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib523.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib524.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib525.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib526.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib530.c lib530: simplify realloc failure exit path 2022-08-30 15:38:20 +02:00
lib533.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib537.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib539.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib540.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib541.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib542.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib543.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib544.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib547.c lib: feature deprecation warnings in gcc >= 4.3 2022-11-15 10:57:29 +01:00
lib549.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib552.c lib: feature deprecation warnings in gcc >= 4.3 2022-11-15 10:57:29 +01:00
lib553.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib554.c lib: feature deprecation warnings in gcc >= 4.3 2022-11-15 10:57:29 +01:00
lib555.c lib: feature deprecation warnings in gcc >= 4.3 2022-11-15 10:57:29 +01:00
lib556.c misc: typo and grammar fixes 2022-10-27 10:01:30 +02:00
lib557.c style: use space after comment start and before comment end 2022-10-30 22:31:29 +01:00
lib558.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib559.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib560.c misc: typo and grammar fixes 2022-10-27 10:01:30 +02:00
lib562.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib564.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib566.c lib: feature deprecation warnings in gcc >= 4.3 2022-11-15 10:57:29 +01:00
lib567.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib568.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib569.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib570.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib571.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib572.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib573.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib574.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib575.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib576.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib578.c lib: feature deprecation warnings in gcc >= 4.3 2022-11-15 10:57:29 +01:00
lib579.c lib: feature deprecation warnings in gcc >= 4.3 2022-11-15 10:57:29 +01:00
lib582.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib583.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib586.c style: use space after comment start and before comment end 2022-10-30 22:31:29 +01:00
lib589.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib590.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib591.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib597.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib598.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib599.c lib: feature deprecation warnings in gcc >= 4.3 2022-11-15 10:57:29 +01:00
lib643.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib650.c lib: feature deprecation warnings in gcc >= 4.3 2022-11-15 10:57:29 +01:00
lib651.c lib: feature deprecation warnings in gcc >= 4.3 2022-11-15 10:57:29 +01:00
lib652.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib653.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib654.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib655.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib658.c tests: several enumerated type cleanups 2022-07-23 13:39:29 +02:00
lib659.c tests: several enumerated type cleanups 2022-07-23 13:39:29 +02:00
lib661.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib666.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib667.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib668.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib670.c lib: feature deprecation warnings in gcc >= 4.3 2022-11-15 10:57:29 +01:00
lib674.c tests: several enumerated type cleanups 2022-07-23 13:39:29 +02:00
lib676.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib677.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib678.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1156.c style: use space after comment start and before comment end 2022-10-30 22:31:29 +01:00
lib1301.c lib1301: unit103 turned into a libtest 2022-11-01 17:01:26 +01:00
lib1500.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1501.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1502.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1506.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1507.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1508.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1509.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1510.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1511.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1512.c lib: feature deprecation warnings in gcc >= 4.3 2022-11-15 10:57:29 +01:00
lib1513.c lib: feature deprecation warnings in gcc >= 4.3 2022-11-15 10:57:29 +01:00
lib1514.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1515.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1517.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1518.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1520.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1522.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1523.c tests: several enumerated type cleanups 2022-07-23 13:39:29 +02:00
lib1525.c style: use space after comment start and before comment end 2022-10-30 22:31:29 +01:00
lib1526.c style: use space after comment start and before comment end 2022-10-30 22:31:29 +01:00
lib1527.c style: use space after comment start and before comment end 2022-10-30 22:31:29 +01:00
lib1528.c style: use space after comment start and before comment end 2022-10-30 22:31:29 +01:00
lib1529.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1530.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1531.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1532.c tests: several enumerated type cleanups 2022-07-23 13:39:29 +02:00
lib1533.c tests: several enumerated type cleanups 2022-07-23 13:39:29 +02:00
lib1534.c tests: several enumerated type cleanups 2022-07-23 13:39:29 +02:00
lib1535.c lib: feature deprecation warnings in gcc >= 4.3 2022-11-15 10:57:29 +01:00
lib1536.c tests: several enumerated type cleanups 2022-07-23 13:39:29 +02:00
lib1537.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1538.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1540.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1541.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1542.c lib: fix some type mismatches and remove unneeded typecasts 2022-11-08 03:11:01 -05:00
lib1550.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1551.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1552.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1553.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1554.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1555.c lib: feature deprecation warnings in gcc >= 4.3 2022-11-15 10:57:29 +01:00
lib1556.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1557.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1558.c lib: feature deprecation warnings in gcc >= 4.3 2022-11-15 10:57:29 +01:00
lib1559.c tests: several enumerated type cleanups 2022-07-23 13:39:29 +02:00
lib1560.c urlapi: fix parsing URL without slash with CURLU_URLENCODE 2022-10-20 08:56:53 +02:00
lib1564.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1565.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1567.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1568.c lib: fix some type mismatches and remove unneeded typecasts 2022-11-08 03:11:01 -05:00
lib1569.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1591.c lib: feature deprecation warnings in gcc >= 4.3 2022-11-15 10:57:29 +01:00
lib1592.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1593.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1594.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1597.c lib1597: make it C89-compliant again 2022-09-17 17:26:43 +02:00
lib1662.c test1662: verify formpost, 301 redirect, no rewind possible 2022-11-25 08:30:29 +01:00
lib1900.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1905.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1906.c misc: spelling fixes 2022-08-31 14:31:01 +00:00
lib1907.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1908.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1910.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1911.c lib: feature deprecation warnings in gcc >= 4.3 2022-11-15 10:57:29 +01:00
lib1912.c lib: feature deprecation warnings in gcc >= 4.3 2022-11-15 10:57:29 +01:00
lib1913.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1915.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1916.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1918.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1919.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1933.c aws_sigv4: fix header computation 2022-10-11 14:33:46 +02:00
lib1934.c aws_sigv4: fix header computation 2022-10-11 14:33:46 +02:00
lib1935.c aws_sigv4: fix header computation 2022-10-11 14:33:46 +02:00
lib1936.c aws_sigv4: fix header computation 2022-10-11 14:33:46 +02:00
lib1937.c aws_sigv4: fix header computation 2022-10-11 14:33:46 +02:00
lib1938.c aws_sigv4: fix header computation 2022-10-11 14:33:46 +02:00
lib1939.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1940.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1945.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib1947.c headers: reset the requests counter at transfer start 2022-09-09 14:46:06 +02:00
lib1948.c test1948: verify PUT + POST reusing the same handle 2022-09-15 23:44:15 +02:00
lib1955.c aws_sigv4: fix header computation 2022-10-11 14:33:46 +02:00
lib1956.c test/aws_sigv4: test cases for content-sha256 2022-11-25 09:24:43 +01:00
lib1957.c test/aws_sigv4: test cases for content-sha256 2022-11-25 09:24:43 +01:00
lib1958.c test/aws_sigv4: test cases for content-sha256 2022-11-25 09:24:43 +01:00
lib1959.c test/aws_sigv4: test cases for content-sha256 2022-11-25 09:24:43 +01:00
lib2301.c websockets: remodeled API to support 63 bit frame sizes 2022-10-07 12:50:58 +02:00
lib2302.c style: use space after comment start and before comment end 2022-10-30 22:31:29 +01:00
lib3010.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib3025.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
lib3026.c test3026: reduce runtime in legacy mingw builds 2022-11-18 02:54:57 -05:00
lib3027.c ftp: ignore a 550 response to MDTM 2022-09-07 10:26:55 +02:00
lib3100.c test3100: RTSP Basic authentication 2022-11-09 09:40:07 +01:00
lib3101.c http: mark it 'this_is_a_follow' in the Location: logic 2022-11-12 00:12:46 +01:00
libauthretry.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
libntlmconnect.c lib: feature deprecation warnings in gcc >= 4.3 2022-11-15 10:57:29 +01:00
libprereq.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
Makefile.am copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
Makefile.inc test/aws_sigv4: test cases for content-sha256 2022-11-25 09:24:43 +01:00
mk-lib1521.pl lib: feature deprecation warnings in gcc >= 4.3 2022-11-15 10:57:29 +01:00
notexists.pl copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
sethostname.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
sethostname.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
stub_gssapi.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
stub_gssapi.h style: use space after comment start and before comment end 2022-10-30 22:31:29 +01:00
test307.pl copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
test610.pl copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
test613.pl copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
test1013.pl copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
test1022.pl copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
test.h tests: add websockets tests 2022-09-09 15:11:14 +02:00
testtrace.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
testtrace.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
testutil.c test3026: reduce runtime in legacy mingw builds 2022-11-18 02:54:57 -05:00
testutil.h test3026: reduce runtime in legacy mingw builds 2022-11-18 02:54:57 -05:00