view ui/tests/append-sig.sh @ 909:18e3ad073b38

Use strtok_r/strtok_s instead of strtok. With its global internal state usage of strtok should be avoided. Patch commited on behalf of Sascha Teichmann.
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 14 Aug 2014 11:24:13 +0200
parents 44fa5de02b52
children 8c829345ecfa
line wrap: on
line source
#!/bin/bash
cp $2 $3
echo -e \\r\\nS:$(openssl dgst -sha256 -sign $1 < $2 | base64 -w0) >> $3

http://wald.intevation.org/projects/trustbridge/