projects
/
platform
/
upstream
/
nettle.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 2.4
[platform/upstream/nettle.git]
/
examples
/
rsa-sign-test
1
#! /bin/sh
2
3
if [ -z "$srcdir" ] ; then
4
srcdir=`pwd`
5
fi
6
7
data="$srcdir/nettle-benchmark.c"
8
9
if [ -x rsa-sign ] ; then
10
if ./rsa-sign testkey < "$data" > testsignature ; then
11
exit 0;
12
else
13
exit 1
14
fi
15
else
16
exit 77
17
fi