From: s_kawamoto Date: Sat, 2 Aug 2014 12:55:38 +0000 (+0900) Subject: Fix the update of PEM file. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=52b286ebd40a19549bb1591cf5391030468efdc3;p=ffftp%2Fffftp.git Fix the update of PEM file. --- diff --git a/FFFTP_Eng_Release/FFFTP.exe b/FFFTP_Eng_Release/FFFTP.exe index 775b9b2..a9a8e29 100644 Binary files a/FFFTP_Eng_Release/FFFTP.exe and b/FFFTP_Eng_Release/FFFTP.exe differ diff --git a/Release/FFFTP.exe b/Release/FFFTP.exe index 1b15737..422c4ef 100644 Binary files a/Release/FFFTP.exe and b/Release/FFFTP.exe differ diff --git a/main.c b/main.c index f4a3a40..bb9d5ba 100644 --- a/main.c +++ b/main.c @@ -3562,7 +3562,7 @@ BOOL LoadSSLRootCAFile() for(i = 0; i < 5; i++) Hash[i] = _byteswap_ulong(Hash[i]); // 同梱する"ssl.pem"に合わせてSHA1ハッシュ値を変更すること - 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 + 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 || DialogBox(GetFtpInst(), MAKEINTRESOURCE(updatesslroot_dlg), GetMainHwnd(), ExeEscDialogProc) == YES) { memcpy(&SSLRootCAFileHash, &Hash, 20);