From ae9d0c58c54a1d469da6c3e9c80c91f1d8f7852f Mon Sep 17 00:00:00 2001 From: Jim Norman Date: Mon, 2 Oct 2006 20:58:26 +0000 Subject: [PATCH] Revert last changes --- CASA/micasacache/sscs_unx_ipc_client.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CASA/micasacache/sscs_unx_ipc_client.c b/CASA/micasacache/sscs_unx_ipc_client.c index b6d13168..82907719 100644 --- a/CASA/micasacache/sscs_unx_ipc_client.c +++ b/CASA/micasacache/sscs_unx_ipc_client.c @@ -1115,7 +1115,10 @@ int32_t ipc_ReadSecret break; } - retCode = NSSCS_E_ENUM_BUFF_TOO_SHORT; + // Read the sscs return code also. + IPC_READ(ssHandle->platHandle, (Byte *) &sockReturn, MSG_DWORD_LEN); + + retCode = NSSCS_E_ENUM_BUFF_TOO_SHORT; break; } } @@ -2116,6 +2119,9 @@ int32_t ipc_ReadKey else break; } + // Read the sscs return code also. + IPC_READ(ssHandle->platHandle, (Byte *) &sockReturn, MSG_DWORD_LEN); + retCode = NSSCS_E_ENUM_BUFF_TOO_SHORT; break; } @@ -2280,6 +2286,7 @@ int32_t ipc_ReadBinaryKey break; } + IPC_READ(ssHandle->platHandle, (Byte *) &sockReturn, MSG_DWORD_LEN); retCode = NSSCS_E_ENUM_BUFF_TOO_SHORT; break; }