SUBDIRS += openpgp-certs
endif
-EXTRA_DIST = libgcrypt.supp hostname-check.README
+EXTRA_DIST = libgcrypt.supp
AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
AM_CPPFLAGS = \
+++ /dev/null
-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.
/*
- * Copyright (C) 2007 Free Software Foundation
+ * Copyright (C) 2007, 2009 Free Software Foundation
*
* Author: Simon Josefsson
*
#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"