diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-11 19:50:26 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-11 19:50:26 +0000 |
commit | c36ea00019075938b66aa6b5d9a9a5c49f6dbc15 (patch) | |
tree | 876751a0432918a28743d833de1f070955bef5d8 /make/gnutlscert.pm | |
parent | e93cdf5a66ef90b0b0ea64c80c7e4eebdecb55c9 (diff) |
Backport patch from stskeeps for checking success of gnutls cert generation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7435 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'make/gnutlscert.pm')
-rw-r--r-- | make/gnutlscert.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/make/gnutlscert.pm b/make/gnutlscert.pm index a28131f3e..517e08b1f 100644 --- a/make/gnutlscert.pm +++ b/make/gnutlscert.pm @@ -106,9 +106,10 @@ ocsp_signing_key time_stamping_key __END__ close(FH); -system("certtool --generate-privkey --outfile key.pem"); -system("certtool --generate-self-signed --load-privkey key.pem --outfile cert.pem --template certtool.template"); +system("certtool --generate-privkey --outfile key.pem") or return 1; +system("certtool --generate-self-signed --load-privkey key.pem --outfile cert.pem --template certtool.template") or return 1; unlink("certtool.template"); } 1; + |