diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2012-02-23 18:06:48 -0700 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2012-02-23 18:06:48 -0700 |
commit | c04237e9d5fccde650a9bc817fe862b066aceed7 (patch) | |
tree | 69af48c245f01d148181dcffb5e078c54c8c6957 /usr/local | |
parent | 310a7a05d810a5abfc878fd750348eab58d50b7d (diff) | |
download | pfsense-c04237e9d5fccde650a9bc817fe862b066aceed7.zip pfsense-c04237e9d5fccde650a9bc817fe862b066aceed7.tar.gz |
Carry over the key length on input errors when creating a certificate signing request. Ticket #2233
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/system_certmanager.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/system_certmanager.php b/usr/local/www/system_certmanager.php index 252d4e3..c6f01dd 100644 --- a/usr/local/www/system_certmanager.php +++ b/usr/local/www/system_certmanager.php @@ -701,6 +701,8 @@ function internalca_change() { <td width="78%" class="vtable"> <select name='csr_keylen' class="formselect"> <?php + if (!isset($pconfig['keylen']) && isset($pconfig['csr_keylen'])) + $pconfig['keylen'] = $pconfig['csr_keylen']; foreach( $cert_keylens as $len): $selected = ""; if ($pconfig['keylen'] == $len) |