OSDN Git Service

Fix the update of PEM file.
authors_kawamoto <s_kawamoto@users.sourceforge.jp>
Sat, 2 Aug 2014 12:55:38 +0000 (21:55 +0900)
committers_kawamoto <s_kawamoto@users.sourceforge.jp>
Sat, 2 Aug 2014 12:55:38 +0000 (21:55 +0900)
FFFTP_Eng_Release/FFFTP.exe
Release/FFFTP.exe
main.c

index 775b9b2..a9a8e29 100644 (file)
Binary files a/FFFTP_Eng_Release/FFFTP.exe and b/FFFTP_Eng_Release/FFFTP.exe differ
index 1b15737..422c4ef 100644 (file)
Binary files a/Release/FFFTP.exe and b/Release/FFFTP.exe differ
diff --git a/main.c b/main.c
index f4a3a40..bb9d5ba 100644 (file)
--- a/main.c
+++ b/main.c
@@ -3562,7 +3562,7 @@ BOOL LoadSSLRootCAFile()
                                for(i = 0; i < 5; i++)\r
                                        Hash[i] = _byteswap_ulong(Hash[i]);\r
                                // 同梱する"ssl.pem"に合わせてSHA1ハッシュ値を変更すること\r
-                               if(memcmp(&Hash, &SSLRootCAFileHash, 20) == 0 || memcmp(&Hash, "\xC8\xF6\x0B\x07\x10\x42\x55\xE7\x57\x7F\xE9\x52\xE0\x3F\xA8\xE4\x08\x2B\xB0\xE2", 20) == 0\r
+                               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\r
                                        || DialogBox(GetFtpInst(), MAKEINTRESOURCE(updatesslroot_dlg), GetMainHwnd(), ExeEscDialogProc) == YES)\r
                                {\r
                                        memcpy(&SSLRootCAFileHash, &Hash, 20);\r