From 600bea73ecc9f587c910d70de5829f7d689b4760 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Wed, 11 Oct 2023 09:58:15 -0500 Subject: [PATCH] crypto: use SWAP from useful.h --- src/crypto.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/crypto.c b/src/crypto.c index 099b8695..710641ed 100644 --- a/src/crypto.c +++ b/src/crypto.c @@ -439,8 +439,6 @@ free_ctr: return false; } -#define SWAP(a, b) do { int _t = a; a = b; b = _t; } while (0) - static void arc4_set_key(struct arc4_ctx *ctx, unsigned int length, const uint8_t *key) {