From: Simon Josefsson Date: Thu, 6 Aug 2009 22:28:20 +0000 (+0200) Subject: Move comment into source. X-Git-Tag: gnutls_2_9_2~31^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=47aeaff5d6090ef256f923091736cf3cd6805ff8;p=thirdparty%2Fgnutls.git Move comment into source. --- diff --git a/tests/Makefile.am b/tests/Makefile.am index b84ab9d637..5538fb72dc 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -26,7 +26,7 @@ if ENABLE_OPENPGP SUBDIRS += openpgp-certs endif -EXTRA_DIST = libgcrypt.supp hostname-check.README +EXTRA_DIST = libgcrypt.supp AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) AM_CPPFLAGS = \ diff --git a/tests/hostname-check.README b/tests/hostname-check.README deleted file mode 100644 index dec0af63e6..0000000000 --- a/tests/hostname-check.README +++ /dev/null @@ -1,13 +0,0 @@ -hostname-check README -- Information about hostname-check self test. -Copyright (C) 2007 Simon Josefsson -See the end for copying conditions. - -This directory contains 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 - ----------------------------------------------------------------------- -Copying and distribution of this file, with or without modification, -are permitted in any medium without royalty provided the copyright -notice and this notice are preserved. 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"