rpcrt4: RPC_C_AUTHN_LEVEL_NONE and RPC_C_AUTHN_LEVEL_DEFAULT are

handled at the binding level now instead of the message level, so
remove this special handling in RPCRT4_Send.
This commit is contained in:
Rob Shearman 2006-11-21 13:09:53 +00:00 committed by Alexandre Julliard
parent 20c53a77e2
commit 06dd3efe2f
1 changed files with 1 additions and 4 deletions

View File

@ -563,10 +563,7 @@ RPC_STATUS RPCRT4_Send(RpcConnection *Connection, RpcPktHdr *Header,
RPC_STATUS r;
SecBuffer out;
if (!Connection->AuthInfo ||
Connection->AuthInfo->AuthnLevel == RPC_C_AUTHN_LEVEL_DEFAULT ||
Connection->AuthInfo->AuthnLevel == RPC_C_AUTHN_LEVEL_NONE ||
SecIsValidHandle(&Connection->ctx))
if (!Connection->AuthInfo || SecIsValidHandle(&Connection->ctx))
{
return RPCRT4_SendAuth(Connection, Header, Buffer, BufferLength, NULL, 0);
}