diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-11-21 09:38:38 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-11-21 11:56:46 +0100 |
commit | b19c8ce7600b4742e113afac5618ff206dbfd4b4 (patch) | |
tree | 715321e18c651de1e7870fb7312e4702d501b90d /lib/str.h | |
parent | 2d1285f14956a89c36219f34611f4c454197140f (diff) | |
download | gnutls-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.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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, |