summaryrefslogtreecommitdiff
path: root/lib/str.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-11-21 09:38:38 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-11-21 11:56:46 +0100
commitb19c8ce7600b4742e113afac5618ff206dbfd4b4 (patch)
tree715321e18c651de1e7870fb7312e4702d501b90d /lib/str.h
parent2d1285f14956a89c36219f34611f4c454197140f (diff)
downloadgnutls-b19c8ce7600b4742e113afac5618ff206dbfd4b4.tar.gz
unconditionally include unistring code
That simplifies internationalization support, at the cost of including a version of libunistring, which is used on systems which do not ship it.
Diffstat (limited to 'lib/str.h')
-rw-r--r--lib/str.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/str.h b/lib/str.h
index 54c0652553..7800eec2eb 100644
--- a/lib/str.h
+++ b/lib/str.h
@@ -36,13 +36,12 @@
# define N_(String) String
#endif
-#define GNUTLS_UTF8_NORM_INTERNAL (1<<16)
int gnutls_utf8_password_normalize(const uint8_t *password, unsigned password_len,
gnutls_datum_t *out, unsigned flags);
#define _gnutls_utf8_password_normalize(p, plen, out, ignore_errs) \
gnutls_utf8_password_normalize((unsigned char*)p, plen, out, \
- ignore_errs?(GNUTLS_UTF8_NORM_INTERNAL|GNUTLS_UTF8_IGNORE_ERRS):GNUTLS_UTF8_NORM_INTERNAL)
+ ignore_errs?(GNUTLS_UTF8_IGNORE_ERRS):0)
void _gnutls_str_cpy(char *dest, size_t dest_tot_size, const char *src);
void _gnutls_mem_cpy(char *dest, size_t dest_tot_size, const char *src,