aboutsummaryrefslogtreecommitdiffstats
path: root/common/ksba-io-support.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2025-11-20 05:28:03 +0000
committerNIIBE Yutaka <[email protected]>2025-11-20 05:28:03 +0000
commitcad79e542d8506942d5b20f544d465cbaf64fd75 (patch)
tree4970309f4a3ad6121f006237282699e7d56f9351 /common/ksba-io-support.c
parentmisc: Validate the value on the use of strtol. (diff)
downloadgnupg-cad79e542d8506942d5b20f544d465cbaf64fd75.tar.gz
gnupg-cad79e542d8506942d5b20f544d465cbaf64fd75.zip
agent,common,dirmngr,tests: Silence warnings of a compiler.
* agent/command.c (cmd_keytocard): Initialize N. * common/ksba-io-support.c (bintoasc): Use GPGRT_ATTR_NONSTRING. * dirmngr/dns.c (dns_aaaa_arpa): Use GPGRT_ATTR_NONSTRING. (dns_sshfp_cmp0): Ditto. * tests/gpgscm/scheme.c (scheme_define): Initialize SSLOT. -- Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'common/ksba-io-support.c')
-rw-r--r--common/ksba-io-support.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/ksba-io-support.c b/common/ksba-io-support.c
index ff5e49531..b692fcf4e 100644
--- a/common/ksba-io-support.c
+++ b/common/ksba-io-support.c
@@ -134,6 +134,7 @@ struct gnupg_ksba_io_s {
/* The base-64 character list */
+GPGRT_ATTR_NONSTRING
static char bintoasc[64] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"abcdefghijklmnopqrstuvwxyz"