From: Niels Möller Date: Thu, 12 Feb 2004 22:32:26 +0000 (+0100) Subject: Use -r option when invoking rsa-encrypt. Needed for the test to work X-Git-Tag: nettle_1.10_release_20040305~46 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3ad1cac376f950507eb8cac5a193d3d231510255;p=thirdparty%2Fnettle.git Use -r option when invoking rsa-encrypt. Needed for the test to work on systems with no /dev/urandom. Rev: src/nettle/examples/rsa-encrypt-test:1.2 --- diff --git a/examples/rsa-encrypt-test b/examples/rsa-encrypt-test index 5fcc4614..1c0e6f2f 100755 --- a/examples/rsa-encrypt-test +++ b/examples/rsa-encrypt-test @@ -7,7 +7,7 @@ fi data="$srcdir/nettle-benchmark.c" if [ -x rsa-encrypt ] ; then - if ./rsa-encrypt testkey.pub < "$data" > testciphertext ; then + if ./rsa-encrypt -r rsa-encrypt testkey.pub < "$data" > testciphertext ; then : else exit 1