1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-05-14 08:13:25 +02:00

gpgscm: Fix for CHARNAMES.

* tests/gpgscm/scheme.c (charnames): It's an array of
strings, not fixed size characters.

--

GnuPG-bug-id: 7623
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2025-04-22 11:03:09 +09:00
parent 07dc08aa81
commit 0070c2e3b4
No known key found for this signature in database
GPG Key ID: 640114AF89DE6054

View File

@ -360,7 +360,7 @@ static INLINE int Cislower(int c) { return isascii(c) && islower(c); }
#endif #endif
#if USE_ASCII_NAMES #if USE_ASCII_NAMES
static const char charnames[32][3]={ static const char *charnames[32]={
"nul", "nul",
"soh", "soh",
"stx", "stx",