Skip to content

Commit

Permalink
util-base64: Fix "-Wunterminated-string-initialization".
Browse files Browse the repository at this point in the history
Fixes #194.
  • Loading branch information
besser82 committed Dec 31, 2024
1 parent 785c7bd commit 05814bd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/util-base64.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "crypt-port.h"

const unsigned char ascii64[65] =
"./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
/* 0000000000111111111122222222223333333333444444444455555555556666 */
/* 0123456789012345678901234567890123456789012345678901234567890123 */
"\x00";
"./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\0";
/* 0000000000111111111122222222223333333333444444444455555555556666\0 */
/* 0123456789012345678901234567890123456789012345678901234567890123\0 */

0 comments on commit 05814bd

Please sign in to comment.