summaryrefslogtreecommitdiff
path: root/make/gnutlscert.pm
diff options
context:
space:
mode:
Diffstat (limited to 'make/gnutlscert.pm')
-rw-r--r--make/gnutlscert.pm5
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;
+