bug-709: change spkac-text, wrap crt with <pre>s
authorFelix Dörre <felix@dogcraft.de>
Tue, 23 Sep 2014 21:56:57 +0000 (23:56 +0200)
committerFelix Dörre <felix@dogcraft.de>
Tue, 23 Sep 2014 21:56:57 +0000 (23:56 +0200)
includes/keygen.php
pages/account/19.php

index 0a6578d..72cddc8 100644 (file)
@@ -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>
index 6b488f3..1a80418 100644 (file)
@@ -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!"));