From 7537c3a6f3c50301f220a0f1500afda904b4a2cf Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Sun, 12 Aug 2018 15:01:06 -0400 Subject: Clean up builds for *BSD/clang. Move lm[ot]s_algorithm_t definitions to hal.h, prefix all public symbols with 'hal_'. Remove some unused functions. Wrap hal_pkey_slot_t initializers in an extra set of curly braces. Remove an unused-argument kludge (x=x;) because gcc doesn't care, and clang complains. Make timersub a proper macro. Add some casts to printf arguments, because !@#$ printf formats. --- rpc_client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rpc_client.c') diff --git a/rpc_client.c b/rpc_client.c index e97289e..eb3333e 100644 --- a/rpc_client.c +++ b/rpc_client.c @@ -548,8 +548,8 @@ static hal_error_t pkey_remote_generate_hashsig(const hal_client_handle_t client hal_pkey_handle_t *pkey, hal_uuid_t *name, const size_t hss_levels, - const lms_algorithm_t lms_type, - const lmots_algorithm_t lmots_type, + const hal_lms_algorithm_t lms_type, + const hal_lmots_algorithm_t lmots_type, const hal_key_flags_t flags) { uint8_t outbuf[nargs(7)], *optr = outbuf, *olimit = outbuf + sizeof(outbuf); -- cgit v1.2.3