From 8745a28ec6dc05a98eb3a21e8204dee9b50110db Mon Sep 17 00:00:00 2001 From: fduncanh Date: Tue, 3 May 2022 19:56:48 -0400 Subject: [PATCH] whitespace --- lib/raop_handlers.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/raop_handlers.h b/lib/raop_handlers.h index 45264c2..c11b9b1 100644 --- a/lib/raop_handlers.h +++ b/lib/raop_handlers.h @@ -368,9 +368,9 @@ raop_handler_setup(raop_conn_t *conn, uint64_t ekey_len = 0; plist_get_data_val(req_ekey_node, &ekey, &ekey_len); memcpy(eaeskey,ekey,72); - free(ekey); + free(ekey); logger_log(conn->raop->logger, LOGGER_DEBUG, "ekey_len = %llu", ekey_len); - // eaeskey is 72 bytes, aeskey is 16 bytes + // eaeskey is 72 bytes, aeskey is 16 bytes str = utils_data_to_string((unsigned char *) eaeskey, ekey_len, 16); logger_log(conn->raop->logger, LOGGER_DEBUG, "ekey:\n%s", str); free (str); @@ -397,7 +397,7 @@ raop_handler_setup(raop_conn_t *conn, if (old_protocol) { /* some windows AirPlay-client emulators use old AirPlay 1 protocol with unhashed AES key */ logger_log(conn->raop->logger, LOGGER_INFO, "Client identifed as using old protocol (unhashed) AES audio key)"); } else { - memcpy(eaeskey, aeskey, 16); + memcpy(eaeskey, aeskey, 16); sha_ctx_t *ctx = sha_init(); sha_update(ctx, eaeskey, 16); sha_update(ctx, ecdh_secret, 32);