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

Contents of /rpms/phpki/contribs10/phpki-0.82-dl_crl_in_pem.patch

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


Revision 1.1 - (show annotations) (download)
Tue Nov 24 14:35:45 2020 UTC (3 years, 11 months ago) by brianr
Branch: MAIN
CVS Tags: phpki-0_82-24_el7_sme, HEAD
Initial import

1 diff -Nur -x '*.orig' -x '*.rej' phpki/phpki-0.82/ca/main.php mezzanine_patched_phpki/phpki-0.82/ca/main.php
2 --- phpki/phpki-0.82/ca/main.php 2008-12-09 02:05:11.000000000 +0100
3 +++ mezzanine_patched_phpki/phpki-0.82/ca/main.php 2008-12-09 02:01:17.000000000 +0100
4 @@ -26,6 +26,10 @@
5 upload("$config[cacrl_der]", "$config[ca_prefix]cacrl.crl", 'application/pkix-crl');
6 break;
7
8 +case 'dl_crl_pem':
9 + upload("$config[cacrl_pem]", "$config[ca_prefix]cacrl.crl", 'application/octet-stream');
10 + break;
11 +
12 case 'gen_crl':
13 list($ret,$errtxt) = CA_generate_crl();
14
15 @@ -121,7 +125,8 @@
16 <tr><td style="text-align: center; vertical-align: middle; font-weight: bold;">
17 <a href=<?=$PHP_SELF?>?stage=dl_crl>Download the Certificate Revocation List</a></td>
18 <td>This is the official list of revoked certificates. Using this list with your e-mail or
19 - browser application is optional. Some applications will automagically reference this list. </td></tr>
20 + browser application is optional. Some applications will automagically reference this list.
21 + (<a href="<?=$PHP_SELF?>?stage=dl_crl_pem">Some will need it in PEM format.</a>)</td></tr>
22
23 <tr><td style="text-align: center; vertical-align: middle; font-weight: bold;">
24 <a href=<?=$PHP_SELF?>?stage=dl_takey>Download the static pre-shared key</a><br><br>
25 diff -Nur -x '*.orig' -x '*.rej' phpki/phpki-0.82/main.php mezzanine_patched_phpki/phpki-0.82/main.php
26 --- phpki/phpki-0.82/main.php 2005-11-17 02:17:06.000000000 +0100
27 +++ mezzanine_patched_phpki/phpki-0.82/main.php 2008-12-09 02:05:04.000000000 +0100
28 @@ -17,6 +17,10 @@
29 upload("$config[cacrl_der]", "$config[ca_prefix]cacrl.crl", 'application/pkix-crl');
30 break;
31
32 +case 'dl_crl_pem':
33 + upload("$config[cacrl_pem]", "$config[ca_prefix]cacrl.crl", 'application/octet-stream');
34 + break;
35 +
36 default:
37 printHeader('public');
38
39 @@ -39,7 +43,8 @@
40 <tr><td style="text-align: center; vertical-align: middle; font-weight: bold;">
41 <a href=<?=$PHP_SELF?>?stage=dl_crl>Download Our Certificate Revocation List</a></td>
42 <td>The official list of certificates revoked by this site. Installation and use of
43 - this list is optional. Some e-mail programs will reference this list automagically. </td></tr>
44 + this list is optional. Some e-mail programs will reference this list automagically.
45 + (<a href="<?=$PHP_SELF?>?stage=dl_crl_pem">Some will need it in PEM format.</a>)</td></tr>
46
47 </table>
48 </center>

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