repo.or.cz
/
tomato
/
davidwu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Correct PPTP server firewall rules chain.
[tomato/davidwu.git]
/
release
/
src
/
router
/
nettle
/
examples
/
rsa-sign-test
blob
99d90dfcf023721e72b4755a2b8d7103f5b632c9
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
$EXEEXT
] ;
then
10
if
$EMULATOR
.
/
rsa-sign testkey
<
"
$data
"
>
testsignature
;
then
11
exit
0
;
12
else
13
exit
1
14
fi
15
else
16
exit
77
17
fi