Author: akhaldi
Date: Sat Sep 28 14:55:32 2013
New Revision: 60409
URL:
http://svn.reactos.org/svn/reactos?rev=60409&view=rev
Log:
[PSDK]
* Add some missing SP_PROT_TLS* definitions.
* Correct SCHANNEL_CRED structure.
Modified:
trunk/reactos/include/psdk/schannel.h
Modified: trunk/reactos/include/psdk/schannel.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/schannel.h?re…
==============================================================================
--- trunk/reactos/include/psdk/schannel.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/schannel.h [iso-8859-1] Sat Sep 28 14:55:32 2013
@@ -27,6 +27,10 @@
#define SCHANNEL_SESSION 3
#define SP_PROT_TLS1_CLIENT 128
+#define SP_PROT_TLS1_1_CLIENT 512
+#define SP_PROT_TLS1_0_CLIENT SP_PROT_TLS1_CLIENT
+#define SP_PROT_TLS1_2_CLIENT 2048
+
#define SP_PROT_TLS1_SERVER 64
#define SP_PROT_SSL3_CLIENT 32
#define SP_PROT_SSL3_SERVER 16
@@ -39,6 +43,8 @@
#define SP_PROT_SSL3 (SP_PROT_SSL3_CLIENT | SP_PROT_SSL3_SERVER)
#define SP_PROT_SSL2 (SP_PROT_SSL2_CLIENT | SP_PROT_SSL2_SERVER)
#define SP_PROT_PCT1 (SP_PROT_PCT1_CLIENT | SP_PROT_PCT1_SERVER)
+
+#define SP_PROT_TLS1_1PLUS_CLIENT (SP_PROT_TLS1_1_CLIENT | SP_PROT_TLS1_2_CLIENT)
#define SCH_CRED_NO_SYSTEM_MAPPER 2
#define SCH_CRED_NO_SERVERNAME_CHECK 4
@@ -85,9 +91,9 @@
DWORD grbitEnabledProtocols;
DWORD dwMinimumCipherStrength;
DWORD dwMaximumCipherStrength;
- DWORD dwSessionLength;
+ DWORD dwSessionLifespan;
DWORD dwFlags;
- DWORD reserved;
+ DWORD dwCredFormat;
} SCHANNEL_CRED, *PSCHANNEL_CRED;
typedef struct _SecPkgCred_SupportedAlgs