diff options
author | Sam Hartman <hartmans@mit.edu> | 2011-09-28 20:55:53 +0000 |
---|---|---|
committer | Sam Hartman <hartmans@mit.edu> | 2011-09-28 20:55:53 +0000 |
commit | 22196688fbdc5c3e196339df665dfc95bae8d5a7 (patch) | |
tree | 00c93badb8a36190f5864192bb6febe9cac6d7ce /src/ccapi/common | |
parent | 28a8abe349da047486cbef33cb7c44e48dd4b9b7 (diff) | |
download | krb5-22196688fbdc5c3e196339df665dfc95bae8d5a7.tar.gz krb5-22196688fbdc5c3e196339df665dfc95bae8d5a7.tar.xz krb5-22196688fbdc5c3e196339df665dfc95bae8d5a7.zip |
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 <kevin.wasserman@painless-security.com>
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25265 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/ccapi/common')
-rw-r--r-- | src/ccapi/common/win/ccs_reply.Idl | 2 | ||||
-rw-r--r-- | src/ccapi/common/win/ccs_request.idl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ccapi/common/win/ccs_reply.Idl b/src/ccapi/common/win/ccs_reply.Idl index 9035a4d001..73e818682e 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 8c68fd8f3a..cad5e44448 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 */ |