Commit a9d3a49b authored by Niels Möller's avatar Niels Möller

* examples/rsa-encrypt-test: Avoid reading and executing a file at

the same time.
* examples/setup-env: Likewise.

Rev: src/nettle/ChangeLog:1.279
Rev: src/nettle/examples/rsa-encrypt-test:1.3
Rev: src/nettle/examples/setup-env:1.2
parent 49d5ee82
2004-10-08 Niels Mller <niels@s3.kth.se>
* examples/rsa-encrypt-test: Avoid reading and executing a file at
the same time.
* examples/setup-env: Likewise.
2004-10-06 Niels Mller <niels@s3.kth.se> 2004-10-06 Niels Mller <niels@s3.kth.se>
* testsuite/symbols-test: Ignore __i686.get_pc_thunk.bx and * testsuite/symbols-test: Ignore __i686.get_pc_thunk.bx and
......
...@@ -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 -r rsa-encrypt testkey.pub < "$data" > testciphertext ; then if ./rsa-encrypt -r rsa-decrypt testkey.pub < "$data" > testciphertext ; then
: :
else else
exit 1 exit 1
......
#! /bin/sh #! /bin/sh
set -e
if [ -x rsa-keygen ] ; then if [ -x rsa-keygen ] ; then
./rsa-keygen -r rsa-keygen -o testkey || exit 1 ./rsa-keygen -r rsa-decrypt -o testkey || exit 1
fi fi
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