From 22196688fbdc5c3e196339df665dfc95bae8d5a7 Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Wed, 28 Sep 2011 20:55:53 +0000 Subject: Fix ccapi rpc methods to always pass 8 byte handles instead of sizeof(void*). ccapi server always stores all 8 bytes, whether compiled as 32 bit or 64 bit. If 32 bit, client zero-pads handle when sending and truncates when receiving. Signed-off-by: Kevin Wasserman git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25265 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ccapi/common/win/ccs_reply.Idl | 2 +- src/ccapi/common/win/ccs_request.idl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ccapi/common') diff --git a/src/ccapi/common/win/ccs_reply.Idl b/src/ccapi/common/win/ccs_reply.Idl index 9035a4d00..73e818682 100644 --- a/src/ccapi/common/win/ccs_reply.Idl +++ b/src/ccapi/common/win/ccs_reply.Idl @@ -33,7 +33,7 @@ */ interface ccs_reply { - const long HSIZE = sizeof(void*); + const long HSIZE = 8; /* The reply from the server to a request from the client: */ void ccs_rpc_request_reply( diff --git a/src/ccapi/common/win/ccs_request.idl b/src/ccapi/common/win/ccs_request.idl index 8c68fd8f3..cad5e4444 100644 --- a/src/ccapi/common/win/ccs_request.idl +++ b/src/ccapi/common/win/ccs_request.idl @@ -36,7 +36,7 @@ typedef unsigned char CC_UCHAR; typedef int CC_INT32; typedef unsigned int CC_UINT32; -const long HSIZE = sizeof(void*); +const long HSIZE = 8; void ccs_rpc_request( [in] const long rpcmsg, /* Message type */ -- cgit