From a2a2ccbf37c63ec3c5833492ba1ffb4b33bdc20f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Sat, 28 Nov 2020 14:14:41 +0100
Subject: [PATCH] Add missing #undef for _chacha_crypt_2core.

---
 chacha-crypt.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/chacha-crypt.c b/chacha-crypt.c
index 56181092..0d6ecee1 100644
--- a/chacha-crypt.c
+++ b/chacha-crypt.c
@@ -60,6 +60,8 @@
 #define _chacha_crypt_3core chacha_crypt
 #define _chacha_crypt32_3core chacha_crypt32
 #elif HAVE_NATIVE_chacha_2core
+#undef _chacha_crypt_2core
+#undef _chacha_crypt32_2core
 #define _chacha_crypt_2core chacha_crypt
 #define _chacha_crypt32_2core chacha_crypt32
 #elif !(HAVE_NATIVE_fat_chacha_3core || HAVE_NATIVE_fat_chacha_2core)
-- 
GitLab