mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Add a few translations to the audit-log.
This commit is contained in:
parent
38251aa74f
commit
68fd14b144
31 changed files with 3227 additions and 2570 deletions
|
@ -194,7 +194,9 @@ hex2str (const char *hexstring, char *buffer, size_t bufsize, size_t *buflen)
|
|||
;
|
||||
if (*s && (!isascii (*s) || !isspace (*s)) )
|
||||
return NULL; /* Not followed by Nul or white space. */
|
||||
need_nul = !(s[-2] == '0' && s[-1] == '0');
|
||||
/* We need to append a nul character. However we don't want that if
|
||||
the hexstring already ends with "00". */
|
||||
need_nul = ((s == hexstring) || !(s[-2] == '0' && s[-1] == '0'));
|
||||
if (need_nul)
|
||||
count++;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue