diff options
author | jim-p <jimp@pfsense.org> | 2010-10-19 14:19:44 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-10-19 14:19:44 -0400 |
commit | f2a86ca96fb8e49d978679dab4cfad6ce2f0d9f4 (patch) | |
tree | 5d64e957ba798bc7818f31a3dc7b1593de59a7f0 /etc/inc/system.inc | |
parent | 6751b3e7863196ab865f8fb76a2ad6e9f8556788 (diff) | |
download | pfsense-f2a86ca96fb8e49d978679dab4cfad6ce2f0d9f4.zip pfsense-f2a86ca96fb8e49d978679dab4cfad6ce2f0d9f4.tar.gz |
Rename 'name' to 'descr' for CA, Certificates, and CRLs, to gain CDATA protection and standardize field names. Ticket #320.
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 8f375f5..ba9ad05 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -692,7 +692,7 @@ function system_webgui_start() { echo "Creating SSL Certificate... "; $cert = array(); $cert['refid'] = uniqid(); - $cert['name'] = "webConfigurator default"; + $cert['descr'] = "webConfigurator default"; mwexec("/usr/bin/openssl genrsa 1024 > {$g['tmp_path']}/ssl.key"); mwexec("/usr/bin/openssl req -new -x509 -nodes -sha1 -days 2000 -key {$g['tmp_path']}/ssl.key > {$g['tmp_path']}/ssl.crt"); $crt = file_get_contents("{$g['tmp_path']}/ssl.crt"); |