diff options
author | NIIBE Yutaka <[email protected]> | 2025-04-21 02:43:42 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2025-04-21 02:43:42 +0000 |
commit | 1c58363541fcc331511d067ce388f32298fd8d29 (patch) | |
tree | 444dbec4975981929b2345c6769d1c6a040424a1 /src/b64enc.c | |
parent | Post release updates (diff) | |
download | libgpg-error-1c58363541fcc331511d067ce388f32298fd8d29.tar.gz libgpg-error-1c58363541fcc331511d067ce388f32298fd8d29.zip |
Mark the initializations with __nonstring__ attribute.
* src/b64enc.c (bintoasc): Use GPGRT_ATTR_NONSTRING.
* src/gpg-error.h.in (GPGRT_ATTR_NONSTRING): New.
--
GnuPG-bug-id: 7621
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'src/b64enc.c')
-rw-r--r-- | src/b64enc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/b64enc.c b/src/b64enc.c index 571f4ec..a4edd0c 100644 --- a/src/b64enc.c +++ b/src/b64enc.c @@ -39,6 +39,7 @@ #define B64ENC_USE_PGPCRC 32 /* The base-64 character list */ +GPGRT_ATTR_NONSTRING static unsigned char const bintoasc[64] = ("ABCDEFGHIJKLMNOPQRSTUVWXYZ" "abcdefghijklmnopqrstuvwxyz" "0123456789+/"); |