aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2010-07-29 13:47:47 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2010-07-29 13:47:47 +0000
commita79abf09278473b278c611f3eec1a7c785dda44b (patch)
tree985aae3e4c4ebb736cf0eea622e294362f754040 /src
parentbf0cd3f4a47d9458a98bb103b52a9d1ba7b65175 (diff)
downloadgnunet-a79abf09278473b278c611f3eec1a7c785dda44b.tar.gz
gnunet-a79abf09278473b278c611f3eec1a7c785dda44b.zip
removed piping stderr to /dev/null
Diffstat (limited to 'src')
-rwxr-xr-xsrc/transport/gnunet-transport-certificate-creation4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/gnunet-transport-certificate-creation b/src/transport/gnunet-transport-certificate-creation
index 402a4cebd..0b810ad23 100755
--- a/src/transport/gnunet-transport-certificate-creation
+++ b/src/transport/gnunet-transport-certificate-creation
@@ -10,13 +10,13 @@ fi
10rm -f $1 $2 10rm -f $1 $2
11 11
12# Create RSA Private Key 12# Create RSA Private Key
13openssl genrsa -out $1 1024 2> /dev/null 13openssl genrsa -out $1 1024 > /dev/null
14if [ $? -ne 0 ]; then 14if [ $? -ne 0 ]; then
15 rm -f $1 $2 15 rm -f $1 $2
16 exit 1 16 exit 1
17fi 17fi
18# Create a self-signed certificate in batch mode using rsa key 18# Create a self-signed certificate in batch mode using rsa key
19openssl req -batch -days 365 -out $2 -new -x509 -key $1 2> /dev/null 19openssl req -batch -days 365 -out $2 -new -x509 -key $1 > /dev/null
20if [ $? -ne 0 ]; then 20if [ $? -ne 0 ]; then
21 rm -f $1 $2 21 rm -f $1 $2
22 exit 1 22 exit 1