summaryrefslogtreecommitdiff
path: root/tests/hostname-check.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-08-07 00:28:20 +0200
committerSimon Josefsson <simon@josefsson.org>2009-08-07 00:28:20 +0200
commit47aeaff5d6090ef256f923091736cf3cd6805ff8 (patch)
treea9e1ea0d21969f72dec7daf1d894629e42f826b7 /tests/hostname-check.c
parentd84eee86739e1f9765c0439bb529a06af486467b (diff)
downloadgnutls-47aeaff5d6090ef256f923091736cf3cd6805ff8.tar.gz
Move comment into source.
Diffstat (limited to 'tests/hostname-check.c')
-rw-r--r--tests/hostname-check.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/hostname-check.c b/tests/hostname-check.c
index 183ee1a283..04e39f490b 100644
--- a/tests/hostname-check.c
+++ b/tests/hostname-check.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2007 Free Software Foundation
+ * Copyright (C) 2007, 2009 Free Software Foundation
*
* Author: Simon Josefsson
*
@@ -30,6 +30,12 @@
#include "utils.h"
+/*
+ A self-test of the RFC 2818 hostname matching algorithm. Used to
+ detect regressions of the bug reported in:
+ http://lists.gnupg.org/pipermail/gnutls-dev/2007-February/001385.html
+*/
+
/* Certificate with no SAN nor CN. */
char pem1[] =
"X.509 Certificate Information:\n"