Otherwise it is allocated on stack and initialised on each call.
Signed-off-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Bob Beck <beck@openssl.org>
Reviewed-by: Norbert Pocs <norbertp@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
MergeDate: Fri Jun 12 13:11:50 2026
(Merged from https://github.com/openssl/openssl/pull/31362)
const char *propq)
{
/* ASCII: "SigEd448", in hex for EBCDIC compatibility */
- const char dom_s[] = "\x53\x69\x67\x45\x64\x34\x34\x38";
+ static const char dom_s[] = "\x53\x69\x67\x45\x64\x34\x34\x38";
uint8_t dom[2];
EVP_MD *shake256 = NULL;