summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Dörre <felix@dogcraft.de>2014-09-23 23:56:57 +0200
committerFelix Dörre <felix@dogcraft.de>2014-09-23 23:56:57 +0200
commitb7c215b0e5cf6866eef99545da0f2d5baae8cb75 (patch)
tree770c16acc33c27d02f810172920e428a236c2320
parentde06286a660c6342d57ecee95c03077f28a9d540 (diff)
downloadcacert-devel-b7c215b0e5cf6866eef99545da0f2d5baae8cb75.tar.gz
cacert-devel-b7c215b0e5cf6866eef99545da0f2d5baae8cb75.tar.xz
cacert-devel-b7c215b0e5cf6866eef99545da0f2d5baae8cb75.zip
bug-709: change spkac-text, wrap crt with <pre>s
-rw-r--r--includes/keygen.php2
-rw-r--r--pages/account/19.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/keygen.php b/includes/keygen.php
index 0a6578d..72cddc8 100644
--- a/includes/keygen.php
+++ b/includes/keygen.php
@@ -121,7 +121,7 @@ if (array_key_exists('HTTP_USER_AGENT',$_SERVER) && strstr($_SERVER['HTTP_USER_A
<input type="hidden" name="keytype" value="NS">
<?=_("Keysize:")?> <keygen name="SPKAC" challenge="<? $_SESSION['spkac_hash']=make_hash(); echo $_SESSION['spkac_hash']; ?>">
- <input type="submit" name="submit" value="<?=_("Generate SPKAC")?>">
+ <input type="submit" name="submit" value="<?=_("Generate keypair within browser")?>">
<input type="hidden" name="oldid" value="<?=intval($id)?>">
</form>
</p>
diff --git a/pages/account/19.php b/pages/account/19.php
index 6b488f3..1a80418 100644
--- a/pages/account/19.php
+++ b/pages/account/19.php
@@ -54,7 +54,7 @@
}
} else if($row['keytype'] == "VI"){
showheader(_("My CAcert.org Account!"));
- echo $cert;
+ echo "<pre>".$cert."</pre>";
showfooter();
} else {
showheader(_("My CAcert.org Account!"));