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

Contents of /rpms/phpki/contribs8/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)
Fri May 24 22:17:29 2013 UTC (11 years, 6 months ago) by unnilennium
Branch: MAIN
CVS Tags: phpki-0_82-17_el5_sme, phpki-0_82-16_el5_sme, HEAD
Error occurred while calculating annotation data.
Initial import

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