removed piping stderr to /dev/null
authorMatthias Wachs <wachs@net.in.tum.de>
Thu, 29 Jul 2010 13:47:47 +0000 (13:47 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Thu, 29 Jul 2010 13:47:47 +0000 (13:47 +0000)
src/transport/gnunet-transport-certificate-creation

index 402a4cebd5adaa7105ec91646b7531ace58e9d71..0b810ad230933e44cb6bfd7c045a05d92bdd833a 100755 (executable)
@@ -10,13 +10,13 @@ fi
 rm -f $1 $2
 
 # Create RSA Private Key
-openssl genrsa -out $1 1024 2> /dev/null
+openssl genrsa -out $1 1024 > /dev/null
 if [ $? -ne 0 ]; then
  rm -f $1 $2
  exit 1
 fi 
 # Create a self-signed certificate in batch mode using rsa key
-openssl req -batch -days 365 -out $2 -new -x509 -key $1 2> /dev/null
+openssl req -batch -days 365 -out $2 -new -x509 -key $1 > /dev/null
 if [ $? -ne 0 ]; then
  rm -f $1 $2
  exit 1