summaryrefslogtreecommitdiff
path: root/lib/includes
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2016-11-20 17:03:02 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-11-20 19:23:42 +0100
commit48bf033618f81c2b8ad41485c471669e9446c06a (patch)
treec1024e60be44bf81a46665726e973633110db12a /lib/includes
parentf0a1af21552e9ba6e6bf6ce54edb3d464258791f (diff)
downloadgnutls-48bf033618f81c2b8ad41485c471669e9446c06a.tar.gz
tolerate non-valid UTF8 passwords when decrypting
Diffstat (limited to 'lib/includes')
-rw-r--r--lib/includes/gnutls/gnutls.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/includes/gnutls/gnutls.h.in b/lib/includes/gnutls/gnutls.h.in
index c8b6227d5b..df46d01764 100644
--- a/lib/includes/gnutls/gnutls.h.in
+++ b/lib/includes/gnutls/gnutls.h.in
@@ -2518,6 +2518,7 @@ typedef struct gnutls_buffer_st *gnutls_buffer_t;
int gnutls_buffer_append_data(gnutls_buffer_t, const void *data, size_t data_size);
+#define GNUTLS_UTF8_IGNORE_ERRS 1
int gnutls_utf8_password_normalize(const unsigned char *password, unsigned password_len,
gnutls_datum_t *out, unsigned flags);