From a5abe6fdf36a13237d674c848b6ccf73efcd5ad4 Mon Sep 17 00:00:00 2001 From: Davy Landman Date: Sun, 28 Jun 2020 10:36:44 +0200 Subject: [PATCH] Removed useless assign --- src/compact_x25519.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compact_x25519.c b/src/compact_x25519.c index cc25648..f94334f 100644 --- a/src/compact_x25519.c +++ b/src/compact_x25519.c @@ -48,7 +48,7 @@ void compact_x25519_derive_encryption_key( uint8_t *p = key_data; p = append(p, shared_secret, X25519_SHARED_SIZE); p = append(p, public_key1, X25519_KEY_SIZE); - p = append(p, public_key2, X25519_KEY_SIZE); + append(p, public_key2, X25519_KEY_SIZE); struct sha512_state hasher; sha512_init(&hasher);