aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2025-04-22 02:03:09 +0000
committerNIIBE Yutaka <[email protected]>2025-04-22 02:03:09 +0000
commit0070c2e3b422ad749489e9ba7110e643b1a6d824 (patch)
treed6c925e0c866a04980944c731debe95bcca8bde9
parentgpgconf: Show also stuff from the Registry emulation. (diff)
downloadgnupg-0070c2e3b422ad749489e9ba7110e643b1a6d824.tar.gz
gnupg-0070c2e3b422ad749489e9ba7110e643b1a6d824.zip
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 <[email protected]>
-rw-r--r--tests/gpgscm/scheme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gpgscm/scheme.c b/tests/gpgscm/scheme.c
index 952cf63b0..2e6e57c54 100644
--- a/tests/gpgscm/scheme.c
+++ b/tests/gpgscm/scheme.c
@@ -360,7 +360,7 @@ static INLINE int Cislower(int c) { return isascii(c) && islower(c); }
#endif
#if USE_ASCII_NAMES
-static const char charnames[32][3]={
+static const char *charnames[32]={
"nul",
"soh",
"stx",