[Cryptech-Commits] [sw/libhal] branch rpc updated: Impressive how hard it can be to diagnose getting everything but the RPC opcode right.

git at cryptech.is git at cryptech.is
Thu May 19 03:14:01 UTC 2016


This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch rpc
in repository sw/libhal.

The following commit(s) were added to refs/heads/rpc by this push:
       new  9f4389f   Impressive how hard it can be to diagnose getting everything but the RPC opcode right.
9f4389f is described below

commit 9f4389f372576c377a070e18ca402482de9cdf21
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Wed May 18 22:52:22 2016 -0400

    Impressive how hard it can be to diagnose getting everything but the RPC opcode right.
---
 rpc_client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rpc_client.c b/rpc_client.c
index 3a84305..4a919a3 100644
--- a/rpc_client.c
+++ b/rpc_client.c
@@ -522,7 +522,7 @@ static hal_error_t pkey_remote_rename(const hal_pkey_handle_t pkey,
   size_t ilen = sizeof(inbuf);
   hal_error_t rpc_ret;
 
-  check(hal_xdr_encode_int(&optr, olimit, RPC_FUNC_PKEY_DELETE));
+  check(hal_xdr_encode_int(&optr, olimit, RPC_FUNC_PKEY_RENAME));
   check(hal_xdr_encode_int(&optr, olimit, pkey.handle));
   check(hal_xdr_encode_buffer(&optr, olimit, name, name_len));
   check(hal_rpc_send(outbuf, optr - outbuf));

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Commits mailing list