Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment