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.

Robert Shearman rob at codeweavers.com
Tue Nov 21 07:09:53 CST 2006


---
  dlls/rpcrt4/rpc_message.c |    5 +----
  1 files changed, 1 insertions(+), 4 deletions(-)
-------------- next part --------------
diff --git a/dlls/rpcrt4/rpc_message.c b/dlls/rpcrt4/rpc_message.c
index 5fb34b0..4f38069 100644
--- a/dlls/rpcrt4/rpc_message.c
+++ b/dlls/rpcrt4/rpc_message.c
@@ -563,10 +563,7 @@ RPC_STATUS RPCRT4_Send(RpcConnection *Co
   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);
   }


More information about the wine-patches mailing list