The MinGW.org Windows System Libraries
リビジョン | 49ec628217f75e5d42de952a495d7f6b08d7dd99 (tree) |
---|---|
日時 | 2012-01-04 10:32:07 |
作者 | Chris Sutcliffe <ir0nh34d@user...> |
コミッター | Chris Sutcliffe |
Remove duplicate definitions, identified by 'make test'.
@@ -1,3 +1,17 @@ | ||
1 | +2012-01-03 Chris Sutcliffe <ir0nh34d@users.sf.net> | |
2 | + | |
3 | + Remove duplicate definitions, identified by 'make test'. | |
4 | + | |
5 | + * include/wincrypt.h (CRYPT_NEWKEYSET, CRYPT_DELETEKEYSET) | |
6 | + (CRYPT_MACHINE_KEYSET, CRYPT_EXPORTABLE, CRYPT_USER_PROTECTED) | |
7 | + (CRYPT_SILENT, CRYPT_CREATE_SALT, CRYPT_UPDATE_KEY, CRYPT_NO_SALT) | |
8 | + (CRYPT_PREGEN, CRYPT_RECIPIENT, CRYPT_INITIATOR, CRYPT_ONLINE) | |
9 | + (CRYPT_SF, CRYPT_CREATE_IV, CRYPT_KEK, CRYPT_DATA_KEY) | |
10 | + (CRYPT_VOLATILE, CRYPT_SGCKEY): Delete second instance of each. | |
11 | + | |
12 | + * include/winerror.h (CRYPT_E_REVOKED): Delete; it is already | |
13 | + correctly defined (per MSDN) in <wincrypt.h> | |
14 | + | |
1 | 15 | 2012-01-03 Keith Marshall <keithmarshall@users.sourceforge.net> |
2 | 16 | |
3 | 17 | Correct misuse of #ifdef, identified by 'make test'. |
@@ -1083,27 +1083,8 @@ typedef struct _CRYPT_KEY_PROV_INFO { | ||
1083 | 1083 | |
1084 | 1084 | // dwFlags definitions for CryptAcquireContext |
1085 | 1085 | #define CRYPT_VERIFYCONTEXT 0xF0000000 |
1086 | -#define CRYPT_NEWKEYSET 0x00000008 | |
1087 | -#define CRYPT_DELETEKEYSET 0x00000010 | |
1088 | -#define CRYPT_MACHINE_KEYSET 0x00000020 | |
1089 | -#define CRYPT_SILENT 0x00000040 | |
1090 | 1086 | |
1091 | 1087 | // dwFlag definitions for CryptGenKey |
1092 | -#define CRYPT_EXPORTABLE 0x00000001 | |
1093 | -#define CRYPT_USER_PROTECTED 0x00000002 | |
1094 | -#define CRYPT_CREATE_SALT 0x00000004 | |
1095 | -#define CRYPT_UPDATE_KEY 0x00000008 | |
1096 | -#define CRYPT_NO_SALT 0x00000010 | |
1097 | -#define CRYPT_PREGEN 0x00000040 | |
1098 | -#define CRYPT_RECIPIENT 0x00000010 | |
1099 | -#define CRYPT_INITIATOR 0x00000040 | |
1100 | -#define CRYPT_ONLINE 0x00000080 | |
1101 | -#define CRYPT_SF 0x00000100 | |
1102 | -#define CRYPT_CREATE_IV 0x00000200 | |
1103 | -#define CRYPT_KEK 0x00000400 | |
1104 | -#define CRYPT_DATA_KEY 0x00000800 | |
1105 | -#define CRYPT_VOLATILE 0x00001000 | |
1106 | -#define CRYPT_SGCKEY 0x00002000 | |
1107 | 1088 | #define CRYPT_ARCHIVABLE 0x00004000 |
1108 | 1089 | |
1109 | 1090 | #define RSA1024BIT_KEY 0x04000000 |
@@ -1853,7 +1853,6 @@ | ||
1853 | 1853 | #define CRYPT_E_BAD_MSG _HRESULT_TYPEDEF_(0x8009200DL) |
1854 | 1854 | #define CRYPT_E_NO_SIGNER _HRESULT_TYPEDEF_(0x8009200EL) |
1855 | 1855 | #define CRYPT_E_PENDING_CLOSE _HRESULT_TYPEDEF_(0x8009200FL) |
1856 | -#define CRYPT_E_REVOKED _HRESULT_TYPEDEF_(0x80092010L) | |
1857 | 1856 | #define CRYPT_E_NO_REVOCATION_DLL _HRESULT_TYPEDEF_(0x80092011L) |
1858 | 1857 | #define CRYPT_E_NO_REVOCATION_CHECK _HRESULT_TYPEDEF_(0x80092012L) |
1859 | 1858 |