summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/w32api/ChangeLog4
-rw-r--r--winsup/w32api/include/wincrypt.h6
2 files changed, 10 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 476389173..bac2a5b73 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,5 +1,9 @@
2003-10-03 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
+ * include/wincrypt.h (CRYPT_FLAGS_*): Add constants. Protocol flags.
+
+2003-10-03 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
+
* include/wincrypt.h (KP_*): Add constants. Needed by
CryptSetKeyParam() and other functions.
diff --git a/winsup/w32api/include/wincrypt.h b/winsup/w32api/include/wincrypt.h
index 6319b6f00..f7a6c8018 100644
--- a/winsup/w32api/include/wincrypt.h
+++ b/winsup/w32api/include/wincrypt.h
@@ -345,6 +345,12 @@ extern "C" {
#define KP_INFO 0x00000012
#define KP_EFFECTIVE_KEYLEN 0x00000013
#define KP_PUB_PARAMS 0x00000027
+#define CRYPT_FLAG_PCT1 0x0001
+#define CRYPT_FLAG_SSL2 0x0002
+#define CRYPT_FLAG_SSL3 0x0004
+#define CRYPT_FLAG_TLS1 0x0008
+#define CRYPT_FLAG_IPSEC 0x0010
+#define CRYPT_FLAG_SIGNING 0x0020
typedef UINT ALG_ID;
typedef struct _VTableProvStruc {FARPROC FuncVerifyImage;} VTableProvStruc,*PVTableProvStruc;