summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorFelix Dörre <felix@dogcraft.de>2014-09-23 23:12:24 +0200
committerFelix Dörre <felix@dogcraft.de>2014-09-23 23:12:24 +0200
commit408c03848b0e60e449c0d5b9bf75bb9ddd88c269 (patch)
tree608747e4f287a06a9caa7848cdcf67e8bf495630 /includes
parent6d0f414854b2c1aa1da9ec49889ac9bb3b69b966 (diff)
downloadcacert-devel-408c03848b0e60e449c0d5b9bf75bb9ddd88c269.tar.gz
cacert-devel-408c03848b0e60e449c0d5b9bf75bb9ddd88c269.tar.xz
cacert-devel-408c03848b0e60e449c0d5b9bf75bb9ddd88c269.zip
bug-790: implement that thing.
Diffstat (limited to 'includes')
-rw-r--r--includes/account.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/account.php b/includes/account.php
index b1ab984..a713f09 100644
--- a/includes/account.php
+++ b/includes/account.php
@@ -1570,7 +1570,7 @@ function buildSubjectFromSession() {
}
mysql_query("update `orgemailcerts` set `csr_name`='$CSRname' where `id`='$emailid'");
} else if($_REQUEST['keytype'] == "MS" || $_REQUEST['keytype']=="VI") {
- $csr = "-----BEGIN CERTIFICATE REQUEST-----\n".clean_csr($_REQUEST['CSR'])."-----END CERTIFICATE REQUEST-----\n";
+ $csr = "-----BEGIN CERTIFICATE REQUEST-----\n".clean_csr($_REQUEST['CSR'])."\n-----END CERTIFICATE REQUEST-----\n";
if (($weakKey = checkWeakKeyCSR($csr)) !== "")
{