FFFTPのソースコードです。
Révision | 57a941fcde3c9a0befe7b55352a9d9889dd6453e (tree) |
---|---|
l'heure | 2014-08-21 23:58:28 |
Auteur | s_kawamoto <s_kawamoto@user...> |
Commiter | s_kawamoto |
Update PEM file.
@@ -1,18 +1,21 @@ | ||
1 | 1 | ## |
2 | -## ca-bundle.crt -- Bundle of CA Root Certificates | |
2 | +## Bundle of CA Root Certificates | |
3 | 3 | ## |
4 | -## Certificate data from Mozilla as of: Tue Jul 15 08:33:20 2014 | |
4 | +## Certificate data from Mozilla downloaded on: Wed Aug 20 03:12:04 2014 | |
5 | 5 | ## |
6 | 6 | ## This is a bundle of X.509 certificates of public Certificate Authorities |
7 | 7 | ## (CA). These were automatically extracted from Mozilla's root certificates |
8 | 8 | ## file (certdata.txt). This file can be found in the mozilla source tree: |
9 | -## http://mxr.mozilla.org/mozilla-release/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1 | |
9 | +## http://hg.mozilla.org/releases/mozilla-release/raw-file/default/security/nss/lib/ckfw/builtins/certdata.txt | |
10 | 10 | ## |
11 | 11 | ## It contains the certificates in PEM format and therefore |
12 | 12 | ## can be directly used with curl / libcurl / php_curl, or with |
13 | 13 | ## an Apache+mod_ssl webserver for SSL client authentication. |
14 | 14 | ## Just configure this file as the SSLCACertificateFile. |
15 | 15 | ## |
16 | +## Conversion done with mk-ca-bundle.pl verison 1.22. | |
17 | +## SHA1: bf2c15b3019e696660321d2227d942936dc50aa7 | |
18 | +## | |
16 | 19 | |
17 | 20 | |
18 | 21 | GTE CyberTrust Global Root |
@@ -3562,7 +3562,7 @@ BOOL LoadSSLRootCAFile() | ||
3562 | 3562 | for(i = 0; i < 5; i++) |
3563 | 3563 | Hash[i] = _byteswap_ulong(Hash[i]); |
3564 | 3564 | // 同梱する"ssl.pem"に合わせてSHA1ハッシュ値を変更すること |
3565 | - if(memcmp(&Hash, &SSLRootCAFileHash, 20) == 0 || memcmp(&Hash, "\xCB\x19\xC1\x7F\xDA\x9E\x9F\x4A\xC0\xF1\x27\x29\xC6\x68\x2D\xB1\x5D\x9B\x5F\xFD", 20) == 0 | |
3565 | + if(memcmp(&Hash, &SSLRootCAFileHash, 20) == 0 || memcmp(&Hash, "\xFD\x0A\x69\x0D\x83\x9E\x7C\xCE\xF1\xDE\x64\x1C\x28\xA2\x86\xC4\x39\xB9\xA4\x37", 20) == 0 | |
3566 | 3566 | || DialogBox(GetFtpInst(), MAKEINTRESOURCE(updatesslroot_dlg), GetMainHwnd(), ExeEscDialogProc) == YES) |
3567 | 3567 | { |
3568 | 3568 | memcpy(&SSLRootCAFileHash, &Hash, 20); |