PKGBUILDs/core/nss/0001-Don-t-USE_ARM_GCM.patch

28 lines
793 B
Diff
Raw Normal View History

2020-05-03 19:30:49 +00:00
From 3b781b8f1dba56fc7782e6837defc7d77ffa5a2f Mon Sep 17 00:00:00 2001
2020-01-25 01:21:27 +00:00
From: Kevin Mihelich <kevin@archlinuxarm.org>
2020-05-03 19:30:49 +00:00
Date: Sun, 3 May 2020 13:15:03 -0600
2020-01-25 01:21:27 +00:00
Subject: [PATCH 1/2] Don't USE_ARM_GCM
---
2020-05-03 19:30:49 +00:00
lib/freebl/gcm.c | 4 ----
1 file changed, 4 deletions(-)
2020-01-25 01:21:27 +00:00
diff --git a/lib/freebl/gcm.c b/lib/freebl/gcm.c
2020-05-03 19:30:49 +00:00
index c2cc18d91..c599031f1 100644
2020-01-25 01:21:27 +00:00
--- a/lib/freebl/gcm.c
+++ b/lib/freebl/gcm.c
2020-05-03 19:30:49 +00:00
@@ -22,10 +22,6 @@
2020-01-25 01:21:27 +00:00
#if defined(__aarch64__) && defined(IS_LITTLE_ENDIAN) && \
(defined(__clang__) || defined(__GNUC__) && __GNUC__ > 6)
#define USE_ARM_GCM
2020-05-03 19:30:49 +00:00
-#elif defined(__arm__) && defined(IS_LITTLE_ENDIAN) && \
- !defined(NSS_DISABLE_ARM32_NEON)
2020-01-25 01:21:27 +00:00
-/* We don't test on big endian platform, so disable this on big endian. */
-#define USE_ARM_GCM
#endif
/* Forward declarations */
--
2020-05-03 19:30:49 +00:00
2.26.2
2020-01-25 01:21:27 +00:00