Commit 1288908a authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

kerberos: Translate GSS_C_DCE_STYLE to appropriate ISC_RET and ASC_RET flags.

parent 1cf45fe5
...@@ -805,6 +805,7 @@ static ULONG flags_gss_to_isc_ret( ULONG flags ) ...@@ -805,6 +805,7 @@ static ULONG flags_gss_to_isc_ret( ULONG flags )
if (flags & GSS_C_CONF_FLAG) ret |= ISC_RET_CONFIDENTIALITY; if (flags & GSS_C_CONF_FLAG) ret |= ISC_RET_CONFIDENTIALITY;
if (flags & GSS_C_INTEG_FLAG) ret |= ISC_RET_INTEGRITY; if (flags & GSS_C_INTEG_FLAG) ret |= ISC_RET_INTEGRITY;
if (flags & GSS_C_ANON_FLAG) ret |= ISC_RET_NULL_SESSION; if (flags & GSS_C_ANON_FLAG) ret |= ISC_RET_NULL_SESSION;
if (flags & GSS_C_DCE_STYLE) ret |= ISC_RET_USED_DCE_STYLE;
if (flags & GSS_C_IDENTIFY_FLAG) ret |= ISC_RET_IDENTIFY; if (flags & GSS_C_IDENTIFY_FLAG) ret |= ISC_RET_IDENTIFY;
return ret; return ret;
} }
...@@ -819,6 +820,7 @@ static ULONG flags_gss_to_asc_ret( ULONG flags ) ...@@ -819,6 +820,7 @@ static ULONG flags_gss_to_asc_ret( ULONG flags )
if (flags & GSS_C_CONF_FLAG) ret |= ASC_RET_CONFIDENTIALITY; if (flags & GSS_C_CONF_FLAG) ret |= ASC_RET_CONFIDENTIALITY;
if (flags & GSS_C_INTEG_FLAG) ret |= ASC_RET_INTEGRITY; if (flags & GSS_C_INTEG_FLAG) ret |= ASC_RET_INTEGRITY;
if (flags & GSS_C_ANON_FLAG) ret |= ASC_RET_NULL_SESSION; if (flags & GSS_C_ANON_FLAG) ret |= ASC_RET_NULL_SESSION;
if (flags & GSS_C_DCE_STYLE) ret |= ASC_RET_USED_DCE_STYLE;
if (flags & GSS_C_IDENTIFY_FLAG) ret |= ASC_RET_IDENTIFY; if (flags & GSS_C_IDENTIFY_FLAG) ret |= ASC_RET_IDENTIFY;
return ret; return ret;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment