]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix compat/chacha_private sigma and tau definitions to use
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 17 Apr 2026 09:04:51 +0000 (11:04 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 17 Apr 2026 09:04:51 +0000 (11:04 +0200)
  nonstring attribute.

compat/chacha_private.h
doc/Changelog

index 192258c7f4913d09192de4659b8b3d93ed0d9647..ce4471c8a9281c059819f0fa800149e5be1c30ee 100644 (file)
@@ -48,8 +48,8 @@ typedef struct
   a = PLUS(a,b); d = ROTATE(XOR(d,a), 8); \
   c = PLUS(c,d); b = ROTATE(XOR(b,c), 7);
 
-static const char sigma[16] = "expand 32-byte k";
-static const char tau[16] = "expand 16-byte k";
+static const char ATTR_NONSTRING(sigma[16]) = "expand 32-byte k";
+static const char ATTR_NONSTRING(tau[16]) = "expand 16-byte k";
 
 static void
 chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits,u32 ATTR_UNUSED(ivbits))
index cc0ef2d3c2215ae8ce5880f3abdb8dc8fa7f14f4..95ae1bbe6b26704518eeb09cfea1b929f3b610fa 100644 (file)
@@ -8,6 +8,8 @@
        - Update github ci cross platform to use
          cross-platform-actions/action@v1.0.0.
        - Fix github ci to speed up with parralel build, for windows ci.
+       - Fix compat/chacha_private sigma and tau definitions to use
+         nonstring attribute.
 
 16 April 2026: Yorgos
        - Merge #1406: Introduce new 'tls-protocols' configuration option.