mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-08 01:44:40 +02:00
https://github.com/ntpsec/ntpsec/blob/master/NEWS.adoc#2025-04-18-124 Skip `test_malloc_failure` test in `libaes_siv/tests.c` on s390x, known to be broken on the arch. Upstream issue: https://gitlab.com/NTPsec/ntpsec/-/issues/846
30 lines
1,022 B
Text
30 lines
1,022 B
Text
Patch-Source: https://sources.debian.org/patches/ntpsec/1.2.3%2Bdfsg1-8/disable-libaes-siv-malloc-test.patch/
|
|
---
|
|
Description: Disable Use /var/lib/ntpsec for driftfile
|
|
This is the path used in the ntpsec packaging, to stay out of the namespace
|
|
of the ntp package.
|
|
Bug: https://github.com/dfoxfranke/libaes_siv/issues/17
|
|
Bug-Debian: https://bugs.debian.org/1102745
|
|
Bug-NTPsec: https://gitlab.com/NTPsec/ntpsec/-/issues/846
|
|
Origin: vendor
|
|
Author: Richard Laager <rlaager@debian.org>
|
|
Last-Update: 2025-04-14
|
|
--- a/libaes_siv/tests.c
|
|
+++ b/libaes_siv/tests.c
|
|
@@ -572,7 +572,16 @@
|
|
}
|
|
|
|
int main(void) {
|
|
+/* This is disabled, because on some platforms, OpenSSL presumably makes an
|
|
+ * allocation right away, so CRYPTO_set_mem_functions() fails.
|
|
+ *
|
|
+ * https://bugs.debian.org/1102745
|
|
+ * https://gitlab.com/NTPsec/ntpsec/-/issues/846
|
|
+ * https://github.com/dfoxfranke/libaes_siv/issues/17
|
|
+ */
|
|
+#if 0
|
|
test_malloc_failure();
|
|
+#endif
|
|
test_cleanup_before_free();
|
|
test_vector_1();
|
|
test_vector_2();
|