mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Redo build system to properly use autotools and avoid compilation with apxs util.
This commit is contained in:
26
tests/tfn/sha1.t
Normal file
26
tests/tfn/sha1.t
Normal file
@@ -0,0 +1,26 @@
|
||||
### Empty
|
||||
{
|
||||
type => "tfn",
|
||||
name => "sha1",
|
||||
input => "",
|
||||
output => "\xda\x39\xa3\xee\x5e\x6b\x4b\x0d\x32\x55\xbf\xef\x95\x60\x18\x90\xaf\xd8\x07\x09",
|
||||
ret => 1,
|
||||
},
|
||||
|
||||
### Basic
|
||||
{
|
||||
type => "tfn",
|
||||
name => "sha1",
|
||||
input => "TestCase",
|
||||
output => "\xa7\x0c\xe3\x83\x89\xe3\x18\xbd\x2b\xe1\x8a\x01\x11\xc6\xdc\x76\xbd\x2c\xd9\xed",
|
||||
ret => 1,
|
||||
},
|
||||
|
||||
### Binary w/NUL
|
||||
{
|
||||
type => "tfn",
|
||||
name => "sha1",
|
||||
input => "\x00\x01\x02\x03\x04\x05\x06\x07\x08",
|
||||
output => "\x63\xbf\x60\xc7\x10\x5a\x07\xa2\xb1\x25\xbb\xf8\x9e\x61\xab\xda\xbc\x69\x78\xc2",
|
||||
ret => 1,
|
||||
},
|
Reference in New Issue
Block a user