summaryrefslogtreecommitdiff
path: root/tests/mini-server-name.c
Commit message (Collapse)AuthorAgeFilesLines
* Use https:// for www.gnu.org and www.example.comTim Rühsen2019-03-131-1/+1
| | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
* Add GNUTLS_E_RECEIVED_DISALLOWED_NAME for illegal SNI namesTim Rühsen2019-01-311-3/+3
| | | | | | | | | | An illegal/disallowed SNI server name previously generated the misleading message "An illegal parameter has been received.". This commit changes it to "A disallowed SNI server name has been received.". Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
* tests: updated for TLS1.3 inclusionNikos Mavrogiannopoulos2018-03-191-12/+30
| | | | | | | | | This moves the test to use a specific version or test multiple TLS versions if applicable. Resolves #413 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* tests: updated to reflect the fact that invalid dns names are rejectedNikos Mavrogiannopoulos2017-07-211-63/+23
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* Removed support for libidn1Nikos Mavrogiannopoulos2017-05-011-1/+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: enable all IDNA tests when compiled with libidn2Nikos Mavrogiannopoulos2017-02-041-1/+1
| | | | | | Keep IDNA2003-only tests on the ifdef HAVE_LIBIDN. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* tests: mini-server-name: skip invalid UTF-8 check if compiled without libidntmp-test-macrosNikos Mavrogiannopoulos2016-09-191-0/+2
| | | | | This allows the test suite to run in systems without libidn. Reported by Thomas Klausner.
* tests: added the macros test_fail() and test_success()Nikos Mavrogiannopoulos2016-09-191-25/+25
| | | | | | These macros allow test programs which run multiple checks, to report the name of the check failed. Modified mini-server-name and x509-dn-decode to use the macro.
* tests: moved child status error checking code in utils.hNikos Mavrogiannopoulos2016-08-091-9/+1
|
* tests: enhance SNI checking with invalid UTF8 and embedded NULL caseNikos Mavrogiannopoulos2016-05-121-12/+30
|
* tests: added check for non-null terminated server nameNikos Mavrogiannopoulos2016-03-161-10/+11
| | | | | | | This checks whether a non-null terminated server name, but with correct length is correctly accepted by gnutls_server_name_set(). Relates #78
* tests: mini-server-name: ignore sigpipeNikos Mavrogiannopoulos2015-03-301-0/+1
|
* tests: added check for gnutls_server_name_get and gnutls_server_name_setNikos Mavrogiannopoulos2015-03-301-0/+338