diff options
author | Peter Powell <petpow@saberuk.com> | 2013-04-02 21:17:11 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2013-04-02 21:17:11 +0100 |
commit | 14d2f191d3ea0faca235c3bf869849f0d6acef69 (patch) | |
tree | 273915824514f1beb643a37e71260eb574cb881e | |
parent | e440ec20a1f42925b7859cf7d67a201ac5ebade4 (diff) |
Fix a small typo in genssl.
-rwxr-xr-x | tools/genssl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/genssl b/tools/genssl index 6cd9fa716..9bc66669f 100755 --- a/tools/genssl +++ b/tools/genssl @@ -82,7 +82,7 @@ time_stamping_key __GNUTLS_END__ close($tmp); my $certtool = `uname -s` eq "Darwin\n" ? 'gnutls-certtool' : 'certtool'; - $status ||= system "$certtool --version >/dev/null 2>1"; + $status ||= system "$certtool --version >/dev/null 2>&1"; $status ||= system "$certtool --generate-privkey --outfile key.pem"; $status ||= system "$certtool --generate-self-signed --load-privkey key.pem --outfile cert.pem --template $tmp"; } elsif (lc $ARGV[0] eq 'openssl') { @@ -97,7 +97,7 @@ $common_name $email __OPENSSL_END__ close($tmp); - $status ||= system 'openssl version >/dev/null 2>1'; + $status ||= system 'openssl version >/dev/null 2>&1'; $status ||= system "cat $tmp | openssl req -x509 -nodes -newkey rsa:2048 -keyout key.pem -out cert.pem -days $days 2>/dev/null"; $status ||= system 'openssl dhparam -out dhparams.pem 2048'; } |