From 06dd3efe2f645d6c97b8135db53229ef23cfd179 Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Tue, 21 Nov 2006 13:09:53 +0000 Subject: [PATCH] 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. --- dlls/rpcrt4/rpc_message.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dlls/rpcrt4/rpc_message.c b/dlls/rpcrt4/rpc_message.c index 5fb34b0c0d..4f38069e6f 100644 --- a/dlls/rpcrt4/rpc_message.c +++ b/dlls/rpcrt4/rpc_message.c @@ -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); }