Commit 3ad1cac3 authored by Niels Möller's avatar Niels Möller
Browse files

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
parent bcc838be
...@@ -7,7 +7,7 @@ fi ...@@ -7,7 +7,7 @@ fi
data="$srcdir/nettle-benchmark.c" data="$srcdir/nettle-benchmark.c"
if [ -x rsa-encrypt ] ; then 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 else
exit 1 exit 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment