Files
libsecp256k1/src
MarcoFalke fa67b6752d refactor: Use array initialization for unterminated strings
The previous code is correct and harmless to initialize an array with a
non-terminated character sequence using a string literal.

However, it requires exactly specifying the array size, which can be
cumbersome.

Also, GCC-15 may issue the -Wunterminated-string-initialization warning.
[1]

Fix both issues by using array initialization. This refactoring commit
does not change behavior.

[1] Example warning:

src/modules/schnorrsig/main_impl.h:48:46: error: initializer-string for array of 'unsigned char' is too long [-Werror=unterminated-string-initialization]
   48 | static const unsigned char bip340_algo[13] = "BIP0340/nonce";
      |                                              ^~~~~~~~~~~~~~~
2024-08-15 17:58:14 +02:00
..
2023-06-20 11:31:58 -04:00
2021-08-20 11:11:26 -04:00
2021-08-20 11:11:26 -04:00
2023-07-03 17:05:55 +02:00
2023-11-24 08:11:08 +01:00
2023-12-01 16:06:29 -05:00
2023-07-24 13:14:23 +01:00
2022-03-25 11:32:14 +01:00
2024-04-25 20:23:31 +00:00
2024-04-25 20:23:31 +00:00
2022-11-07 16:37:24 -05:00
2022-11-07 16:37:24 -05:00
2023-02-28 15:54:00 -05:00
2023-02-28 15:54:00 -05:00
2020-12-18 00:24:22 +02:00
2020-12-18 00:24:22 +02:00
2024-01-03 20:03:07 +08:00
2024-06-24 14:24:48 -07:00