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

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
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
......
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