Module: wine Branch: master Commit: 173590a6647f94bb3d7843c46b194a157fcd696f URL: http://source.winehq.org/git/wine.git/?a=commit;h=173590a6647f94bb3d7843c46b...
Author: Rob Shearman rob@codeweavers.com Date: Wed Mar 28 08:57:49 2007 +0100
rpcrt4: Fixing the using of the auth_len values the wrong way round - PKT_PRIVACY implies the packet will be encrypted, not just signed.
---
dlls/rpcrt4/rpc_message.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/rpcrt4/rpc_message.c b/dlls/rpcrt4/rpc_message.c index 53d191b..1086602 100644 --- a/dlls/rpcrt4/rpc_message.c +++ b/dlls/rpcrt4/rpc_message.c @@ -381,9 +381,9 @@ static RPC_STATUS RPCRT4_SendAuth(RpcConnection *Connection, RpcPktHdr *Header, else if (Connection->AuthInfo && packet_has_auth_verifier(Header)) { if ((Connection->AuthInfo->AuthnLevel == RPC_C_AUTHN_LEVEL_PKT_PRIVACY) && packet_has_body(Header)) - Header->common.auth_len = Connection->signature_auth_len; - else Header->common.auth_len = Connection->encryption_auth_len; + else + Header->common.auth_len = Connection->signature_auth_len; } else Header->common.auth_len = 0;