1
2
3
4
5
6
7
8
9
10
11
12
|
# Auto generated from "SHA1ShortMsg.rsp"
package require tls
package require tcltest
tcltest::testConstraint SHA1 [expr {[lsearch -nocase [tls::digests] SHA1] > -1}]
tcltest::test Hash_SHA1-2.1 {SHA1ShortMsg} \
-constraints SHA1 \
-setup {set data ""} \
-body {tls::digest -digest SHA1 -data $data} \
-match exact -result da39a3ee5e6b4b0d3255bfef95601890afd80709
|
>
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# Auto generated from "SHA1ShortMsg.rsp"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest
tcltest::testConstraint SHA1 [expr {[lsearch -nocase [tls::digests] SHA1] > -1}]
catch {tls::provider legacy}
tcltest::test Hash_SHA1-2.1 {SHA1ShortMsg} \
-constraints SHA1 \
-setup {set data ""} \
-body {tls::digest -digest SHA1 -data $data} \
-match exact -result da39a3ee5e6b4b0d3255bfef95601890afd80709
|