git.samba.org
/
gd
/
nettle
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcc838b
)
Use -r option when invoking rsa-encrypt. Needed for the test to work
author
Niels Möller
<nisse@lysator.liu.se>
Thu, 12 Feb 2004 22:32:26 +0000
(23:32 +0100)
committer
Niels Möller
<nisse@lysator.liu.se>
Thu, 12 Feb 2004 22:32:26 +0000
(23:32 +0100)
on systems with no /dev/urandom.
Rev: src/nettle/examples/rsa-encrypt-test:1.2
examples/rsa-encrypt-test
patch
|
blob
|
history
diff --git
a/examples/rsa-encrypt-test
b/examples/rsa-encrypt-test
index 5fcc4614be24d42edc8c0f0097d75b0684fa4a63..1c0e6f2fd5aae37f7e4dad7bce9ef97eccb462fe 100755
(executable)
--- 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