Rob Shearman : rpcrt4: RPC_C_AUTHN_LEVEL_NONE and RPC_C_AUTHN_LEVEL_DEFAULT are

Alexandre Julliard julliard at wine.codeweavers.com
Wed Nov 22 05:21:15 CST 2006


Module: wine
Branch: master
Commit: 06dd3efe2f645d6c97b8135db53229ef23cfd179
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=06dd3efe2f645d6c97b8135db53229ef23cfd179

Author: Rob Shearman <rob at codeweavers.com>
Date:   Tue Nov 21 13:09:53 2006 +0000

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 files changed, 1 insertions(+), 4 deletions(-)

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-cvs mailing list