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