This website requires JavaScript.
Explore
Help
Sign In
generic-library
/
openssl
Watch
1
Star
0
Fork
0
You've already forked openssl
Code
Issues
Pull Requests
Releases
Wiki
Activity
openssl
/
test
/
recipes
/
05-test_wp.t
6 lines
94 B
Perl
Raw
Normal View
History
Unescape
Escape
Add recipes for individual block ciphers, stream ciphers and digests These recipes all correspond to a compiled test program. Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-04-17 20:04:19 +02:00
#! /usr/bin/perl
Simplify very simple test recipes further. Very simple test recipes easily become tedious, so they might benefit from being made as simple as possible. Therefore, OpenSSL::Test::Simple is born. It currently provides but one function, simple_test(), which takes a minimum of two parameters (test name and program to run), with the optional third, being the algorithm to be checked for before running the test itself. All recipes with that simple thing to do have been rewritten to be as minimal as possible. Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-04-21 19:29:01 +02:00
use
OpenSSL::Test::Simple
;
Add recipes for individual block ciphers, stream ciphers and digests These recipes all correspond to a compiled test program. Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-04-17 20:04:19 +02:00
Correct whirlpool test It depended on 'openssl no-wp', which always exited with code 0, so this test would never be performed, and this, I never discovered that the program it's supposed to run was misspellt. Furthermore, the feature to check is 'whirlpool', not 'wp'. All corrected. Reviewed-by: Stephen Henson <steve@openssl.org>
2015-09-20 00:34:16 +02:00
simple_test
(
"test_wp"
,
"wp_test"
,
"whirlpool"
)
;
Reference in New Issue
Copy Permalink