summaryrefslogtreecommitdiff
path: root/tests/str-idna.c
Commit message (Collapse)AuthorAgeFilesLines
* Removed support for libidn1Nikos Mavrogiannopoulos2017-05-011-17/+1
| | | | | | | | | | Currently we support both IDNA2003 and IDNA2008. However, IDNA2003 is already obsolete by registrars and NICs, thus there is no reason to continue supporting it. We switch to IDNA2008 exclusively using libidn2. Resolves #194 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* tests: check against symbols present only in IDNA2003Nikos Mavrogiannopoulos2017-04-301-1/+9
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* tests: use the exported API for IDNA testingNikos Mavrogiannopoulos2017-01-261-13/+28
| | | | | | | In addition group together the tests which require libidn2 >= 0.14. This allows the tests to succeed. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* tests: simplified str-idnaNikos Mavrogiannopoulos2017-01-261-39/+58
| | | | | | | This separates the directions that are tested (utf-8 -> punycode and vice versa). Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Add support for libidn2 (IDNA 2008 + TR46)Tim Rühsen2017-01-251-3/+11
| | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
* tests: added unit tests of of _gnutls_idna_reverse_mapNikos Mavrogiannopoulos2016-11-251-16/+33
|
* gnutls_idna_map was prefixed with underscore to avoid clashes with exported ↵tmp-mini-idna2003-updateNikos Mavrogiannopoulos2016-11-231-3/+3
| | | | symbols
* tests: added unit tests for gnutls_idna_map()Nikos Mavrogiannopoulos2016-11-231-0/+95