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
+2004-10-08 Niels Möller <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 Möller <niels@s3.kth.se>
* testsuite/symbols-test: Ignore __i686.get_pc_thunk.bx and
data="$srcdir/nettle-benchmark.c"
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
exit 1
#! /bin/sh
+set -e
+
if [ -x rsa-keygen ] ; then
- ./rsa-keygen -r rsa-keygen -o testkey || exit 1
+ ./rsa-keygen -r rsa-decrypt -o testkey || exit 1
fi