From 3ad1cac376f950507eb8cac5a193d3d231510255 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Thu, 12 Feb 2004 23:32:26 +0100
Subject: [PATCH] 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
---
 examples/rsa-encrypt-test | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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