1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00
* stringhelp.c (utf8_charcount): New.
agent/
	* genkey.c (check_passphrase_constraints): Use UTF-8 aware strlen.
This commit is contained in:
Werner Koch 2007-01-25 10:26:55 +00:00
parent 39fbda4e3c
commit 0d4b205630
6 changed files with 29 additions and 6 deletions

View file

@ -57,6 +57,9 @@ size_t print_sanitized_utf8_string (FILE *fp, const char *string, int delim);
char *sanitize_buffer (const void *p, size_t n, int delim);
size_t utf8_charcount (const char *s);
#ifdef HAVE_W32_SYSTEM
const char *w32_strerror (int ec);
#endif