Rob Shearman : rpcrt4:
Fixing the using of the auth_len values the wrong way round -
PKT_PRIVACY implies the packet will be encrypted , not just signed.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Mar 28 06:41:56 CDT 2007
Module: wine
Branch: master
Commit: 173590a6647f94bb3d7843c46b194a157fcd696f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=173590a6647f94bb3d7843c46b194a157fcd696f
Author: Rob Shearman <rob at 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;
More information about the wine-cvs
mailing list