From 408c03848b0e60e449c0d5b9bf75bb9ddd88c269 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20D=C3=B6rre?= Date: Tue, 23 Sep 2014 23:12:24 +0200 Subject: bug-790: implement that thing. --- includes/account.php | 2 +- pages/account/17.php | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) 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)) !== "") { diff --git a/pages/account/17.php b/pages/account/17.php index 8ac8b65..cd2ad0a 100644 --- a/pages/account/17.php +++ b/pages/account/17.php @@ -17,3 +17,12 @@ */ require_once($_SESSION['_config']['filepath'].'/includes/keygen.php'); + +?> + +
+ + + + +
-- cgit v1.2.1