FFFTPのソースコードです。
Revision | e176acc1de61ef6869fd3eedfc341360fd6e87e1 (tree) |
---|---|
Zeit | 2015-09-12 13:57:50 |
Autor | s_kawamoto <s_kawamoto@user...> |
Commiter | s_kawamoto |
Update PEM file.
@@ -12,6 +12,9 @@ | ||
12 | 12 | Include Files |
13 | 13 | **************************************************************************/ |
14 | 14 | |
15 | +// UTF-8対応 | |
16 | +#include <winsock2.h> | |
17 | + | |
15 | 18 | #define _INC_OLE |
16 | 19 | #include <windows.h> |
17 | 20 | #undef _INC_OLE |
@@ -19,6 +22,9 @@ | ||
19 | 22 | #include <oleidl.h> |
20 | 23 | #include <objidl.h> |
21 | 24 | |
25 | +// UTF-8対応 | |
26 | +#include "common.h" | |
27 | + | |
22 | 28 | #include "OleDragDrop.h" |
23 | 29 | |
24 | 30 |
@@ -81,7 +81,7 @@ | ||
81 | 81 | // ソフトウェア自動更新 |
82 | 82 | // リリースバージョンはリリース予定年(10進数4桁)+月(2桁)+日(2桁)+通し番号(0スタート2桁)とする |
83 | 83 | // 2014年7月31日中の30個目のリリースは2014073129 |
84 | -#define RELEASE_VERSION_NUM 2015081001 /* リリースバージョン */ | |
84 | +#define RELEASE_VERSION_NUM 2015091201 /* リリースバージョン */ | |
85 | 85 | |
86 | 86 | |
87 | 87 | // SourceForge.JPによるフォーク |
@@ -1,7 +1,7 @@ | ||
1 | 1 | ## |
2 | 2 | ## Bundle of CA Root Certificates |
3 | 3 | ## |
4 | -## Certificate data from Mozilla as of: Wed Apr 22 03:12:04 2015 | |
4 | +## Certificate data from Mozilla as of: Wed Sep 2 18:30:34 2015 | |
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 |
@@ -966,7 +966,6 @@ static LRESULT FileListCommonWndProc(HWND hWnd, UINT message, WPARAM wParam, LPA | ||
966 | 966 | } |
967 | 967 | |
968 | 968 | /* ファイル名の配列を作成する */ |
969 | - // TODO: GlobalAllocが返すのはメモリポインタではなくハンドルだが実際は同じ値 | |
970 | 969 | FileNameList = (char **)GlobalAlloc(GPTR,sizeof(char *) * filenum); |
971 | 970 | if(FileNameList == NULL){ |
972 | 971 | abort(); |
@@ -3585,7 +3585,7 @@ BOOL LoadSSLRootCAFile() | ||
3585 | 3585 | for(i = 0; i < 5; i++) |
3586 | 3586 | Hash[i] = _byteswap_ulong(Hash[i]); |
3587 | 3587 | // 同梱する"ssl.pem"に合わせてSHA1ハッシュ値を変更すること |
3588 | - if(memcmp(&Hash, &SSLRootCAFileHash, 20) == 0 || memcmp(&Hash, "\x0E\xFA\xF6\x00\xCB\xBE\x99\x35\x4C\xED\x7F\x87\xC8\x33\x1B\x03\x38\x65\xB7\xBD", 20) == 0 | |
3588 | + if(memcmp(&Hash, &SSLRootCAFileHash, 20) == 0 || memcmp(&Hash, "\xEC\xF8\xB8\xF6\xB3\x1E\xDF\x0E\x37\x6B\x7E\x3B\x3A\x95\xF2\xD4\xE7\xB4\x1C\x2D", 20) == 0 | |
3589 | 3589 | || DialogBox(GetFtpInst(), MAKEINTRESOURCE(updatesslroot_dlg), GetMainHwnd(), ExeEscDialogProc) == YES) |
3590 | 3590 | { |
3591 | 3591 | memcpy(&SSLRootCAFileHash, &Hash, 20); |