]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - make/opensslcert.pm
Move +O check out of OnCheckBan to change error message and avoid triggering restrict...
[user/henk/code/inspircd.git] / make / opensslcert.pm
index 1cadd9f8256d99f2ba7cf26b4544c74654919f85..3bf5b4533bda7df7657c65cf25cb7668aa12b5b4 100644 (file)
@@ -1,3 +1,15 @@
+#       +------------------------------------+
+#       | Inspire Internet Relay Chat Daemon |
+#       +------------------------------------+
+#
+#  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+# See: http://wiki.inspircd.org/Credits
+#
+# This program is free but copyrighted software; see
+#      the file COPYING for details.
+#
+# ---------------------------------------------------
+
 package make::opensslcert;
 
 require 5.8.0;
@@ -32,7 +44,7 @@ __END__
 close(FH);
 
 my $time = promptstring_s("Please enter the number of days that this certificate is valid for","365");
-       
+
 system("cat openssl.template | openssl req -x509 -nodes -newkey rsa:1024 -keyout key.pem -out cert.pem -days $time 2>/dev/null");
 system("openssl dhparam -out dhparams.pem 1024");
 unlink("openssl.template");