/[smecontribs]/rpms/phpki/contribs7/phpki-0.82-empty_pass_php_5.2.patch
ViewVC logotype

Contents of /rpms/phpki/contribs7/phpki-0.82-empty_pass_php_5.2.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Mar 18 15:29:18 2010 UTC (14 years, 8 months ago) by vip-ire
Branch: MAIN
CVS Tags: phpki-0_82-13_el4_sme, phpki-0_82-16_el4_sme, phpki-0_82-11_el4_sme, phpki-0_82-14_el4_sme, phpki-0_82-15_el4_sme, phpki-0_82-12_el4_sme, HEAD
* Thu Mar 18 2010 Daniel B. <daniel@firewall-services.com> [0.82-11]
- Fixe empty password with PHP 5.2 (SME 8b5)

1 diff -Nur -x '*.orig' -x '*.rej' phpki/phpki-0.82/include/openssl_functions.php mezzanine_patched_phpki/phpki-0.82/include/openssl_functions.php
2 --- phpki/phpki-0.82/include/openssl_functions.php 2010-03-18 16:41:48.000000000 +0100
3 +++ mezzanine_patched_phpki/phpki-0.82/include/openssl_functions.php 2010-03-18 16:41:13.000000000 +0100
4 @@ -543,7 +543,7 @@
5 unset($cmd_output);
6 $cmd_output[] = 'Creating certifcate request.';
7
8 - if ($passwd) {
9 + if (($passwd) && ($passwd != "''")) {
10 exec(REQ." -new -newkey rsa:$keysize -keyout '$userkey' -out '$userreq' -config '$cnf_file' -days '$expiry_days' -passout pass:$passwd 2>&1", $cmd_output, $ret);
11 }
12 else {

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed