From 66fafed8ca4cd15170a63ef7156ffe899a9e789e Mon Sep 17 00:00:00 2001 From: Gerardo Ravago Date: Mon, 26 Aug 2024 10:09:34 -0400 Subject: [PATCH] remove unnecessary pointer increment --- kexoqsx25519.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kexoqsx25519.c b/kexoqsx25519.c index 313f5d18d8b5..ccba8a2530c5 100644 --- a/kexoqsx25519.c +++ b/kexoqsx25519.c @@ -120,7 +120,6 @@ static int kex_kem_generic_with_x25519_enc(OQS_KEM *kem, struct kex *kex, } client_pub += kem->length_public_key; public_key += kem->length_ciphertext; - private_key += kem->length_shared_secret; kexc25519_keygen(server_key, public_key); if ((r = kexc25519_shared_key_ext(server_key, client_pub, buf, 1)) < 0) {