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

Annotation of /rpms/phpki/contribs10/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 - (hide annotations) (download)
Tue Nov 24 14:35:49 2020 UTC (3 years, 5 months ago) by brianr
Branch: MAIN
CVS Tags: phpki-0_82-24_el7_sme, HEAD
Initial import

1 brianr 1.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