Skip to content

Instantly share code, notes, and snippets.

@0xffea
Last active December 16, 2015 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0xffea/5465675 to your computer and use it in GitHub Desktop.
Save 0xffea/5465675 to your computer and use it in GitHub Desktop.
tlsdate autogen.sh run on Hurd
$ uname -a
GNU debian 0.3 GNU-Mach 1.3.99-486/Hurd-0.3 i686-AT386 GNU
$ autoreconf --version
autoreconf (GNU Autoconf) 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by David J. MacKenzie and Akim Demaille.
$ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.ac:30: error: possibly undefined macro: AC_DEFINE_UNQUOTED
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:45: error: possibly undefined macro: AC_MSG_CHECKING
configure.ac:46: error: possibly undefined macro: AC_ARG_WITH
configure.ac:47: error: possibly undefined macro: AS_HELP_STRING
configure.ac:50: error: possibly undefined macro: AS_CASE
configure.ac:59: error: possibly undefined macro: AS_IF
configure.ac:65: error: possibly undefined macro: AC_DEFINE
configure.ac:125: error: possibly undefined macro: AC_MSG_ERROR
configure.ac:398: error: possibly undefined macro: AC_MSG_RESULT
autoreconf: /usr/bin/autoconf failed with exit status: 1
$
$ /usr/local/bin/tlsdate -vV https://encrypted.google.com/
V: tlsdate version 0.0.6
V: We were called with the following arguments:
V: validate SSL certificates host = www.ptb.de:443
V: time is currently 1366968093.610000000
V: time is greater than RECENT_COMPILE_DATE
V: using TLSv1_client_method()
V: Using OpenSSL for SSL
V: opening socket to www.ptb.de:443
V: certificate verification passed
V: commonName matched: www.ptb.de
V: found non subjectAltName extension
V: found non subjectAltName extension
V: found non subjectAltName extension
V: found non subjectAltName extension
V: found non subjectAltName extension
V: found non subjectAltName extension
V: Inspecting 'www.ptb.de' for possible wildcard match against 'bam.ptb.de'
V: label found; total label count: 1
V: label found; total label count: 2
V: label found; total label count: 3
V: Not a RFC 2595 wildcard
V: wildcard match failure of www.ptb.de against bam.ptb.de
V: subjectAltName found but not matched: bam.ptb.de, type: DNS
V: Inspecting 'www.ptb.de' for possible wildcard match against 'ex-inno.ptb.de'
V: label found; total label count: 1
V: label found; total label count: 2
V: label found; total label count: 3
V: Not a RFC 2595 wildcard
V: wildcard match failure of www.ptb.de against ex-inno.ptb.de
V: subjectAltName found but not matched: ex-inno.ptb.de, type: DNS
V: Inspecting 'www.ptb.de' for possible wildcard match against 'lac.ptb.de'
V: label found; total label count: 1
V: label found; total label count: 2
V: label found; total label count: 3
V: Not a RFC 2595 wildcard
V: wildcard match failure of www.ptb.de against lac.ptb.de
V: subjectAltName found but not matched: lac.ptb.de, type: DNS
V: Inspecting 'www.ptb.de' for possible wildcard match against 'q5.ptb.de'
V: label found; total label count: 1
V: label found; total label count: 2
V: label found; total label count: 3
V: Not a RFC 2595 wildcard
V: wildcard match failure of www.ptb.de against q5.ptb.de
V: subjectAltName found but not matched: q5.ptb.de, type: DNS
V: Inspecting 'www.ptb.de' for possible wildcard match against 'quantummetrology.de'
V: label found; total label count: 1
V: label found; total label count: 2
V: label found; total label count: 3
V: Not a RFC 2595 wildcard
V: wildcard match failure of www.ptb.de against quantummetrology.de
V: subjectAltName found but not matched: quantummetrology.de, type: DNS
V: Inspecting 'www.ptb.de' for possible wildcard match against 'ul.ptb.de'
V: label found; total label count: 1
V: label found; total label count: 2
V: label found; total label count: 3
V: Not a RFC 2595 wildcard
V: wildcard match failure of www.ptb.de against ul.ptb.de
V: subjectAltName found but not matched: ul.ptb.de, type: DNS
V: Inspecting 'www.ptb.de' for possible wildcard match against 'www.bam.ptb.de'
V: label found; total label count: 1
V: label found; total label count: 2
V: label found; total label count: 3
V: Not a RFC 2595 wildcard
V: wildcard match failure of www.ptb.de against www.bam.ptb.de
V: subjectAltName found but not matched: www.bam.ptb.de, type: DNS
V: Inspecting 'www.ptb.de' for possible wildcard match against 'www.euramet.com'
V: label found; total label count: 1
V: label found; total label count: 2
V: label found; total label count: 3
V: Not a RFC 2595 wildcard
V: wildcard match failure of www.ptb.de against www.euramet.com
V: subjectAltName found but not matched: www.euramet.com, type: DNS
V: Inspecting 'www.ptb.de' for possible wildcard match against 'www.euramet.de'
V: label found; total label count: 1
V: label found; total label count: 2
V: label found; total label count: 3
V: Not a RFC 2595 wildcard
V: wildcard match failure of www.ptb.de against www.euramet.de
V: subjectAltName found but not matched: www.euramet.de, type: DNS
V: Inspecting 'www.ptb.de' for possible wildcard match against 'www.euramet.eu'
V: label found; total label count: 1
V: label found; total label count: 2
V: label found; total label count: 3
V: Not a RFC 2595 wildcard
V: wildcard match failure of www.ptb.de against www.euramet.eu
V: subjectAltName found but not matched: www.euramet.eu, type: DNS
V: Inspecting 'www.ptb.de' for possible wildcard match against 'www.euramet.info'
V: label found; total label count: 1
V: label found; total label count: 2
V: label found; total label count: 3
V: Not a RFC 2595 wildcard
V: wildcard match failure of www.ptb.de against www.euramet.info
V: subjectAltName found but not matched: www.euramet.info, type: DNS
V: Inspecting 'www.ptb.de' for possible wildcard match against 'www.euramet.org'
V: label found; total label count: 1
V: label found; total label count: 2
V: label found; total label count: 3
V: Not a RFC 2595 wildcard
V: wildcard match failure of www.ptb.de against www.euramet.org
V: subjectAltName found but not matched: www.euramet.org, type: DNS
V: Inspecting 'www.ptb.de' for possible wildcard match against 'www.ex-act.ptb.de'
V: label found; total label count: 1
V: label found; total label count: 2
V: label found; total label count: 3
V: Not a RFC 2595 wildcard
V: wildcard match failure of www.ptb.de against www.ex-act.ptb.de
V: subjectAltName found but not matched: www.ex-act.ptb.de, type: DNS
V: Inspecting 'www.ptb.de' for possible wildcard match against 'www.ex-coaching.ptb.de'
V: label found; total label count: 1
V: label found; total label count: 2
V: label found; total label count: 3
V: Not a RFC 2595 wildcard
V: wildcard match failure of www.ptb.de against www.ex-coaching.ptb.de
V: subjectAltName found but not matched: www.ex-coaching.ptb.de, type: DNS
V: Inspecting 'www.ptb.de' for possible wildcard match against 'www.ex-confass.ptb.de'
V: label found; total label count: 1
V: label found; total label count: 2
V: label found; total label count: 3
V: Not a RFC 2595 wildcard
V: wildcard match failure of www.ptb.de against www.ex-confass.ptb.de
V: subjectAltName found but not matched: www.ex-confass.ptb.de, type: DNS
V: Inspecting 'www.ptb.de' for possible wildcard match against 'www.ex-dienst.org'
V: label found; total label count: 1
V: label found; total label count: 2
V: label found; total label count: 3
V: Not a RFC 2595 wildcard
V: wildcard match failure of www.ptb.de against www.ex-dienst.org
V: subjectAltName found but not matched: www.ex-dienst.org, type: DNS
V: Inspecting 'www.ptb.de' for possible wildcard match against 'www.ex-info.ptb.de'
V: label found; total label count: 1
V: label found; total label count: 2
V: label found; total label count: 3
V: Not a RFC 2595 wildcard
V: wildcard match failure of www.ptb.de against www.ex-info.ptb.de
V: subjectAltName found but not matched: www.ex-info.ptb.de, type: DNS
V: Inspecting 'www.ptb.de' for possible wildcard match against 'www.ex-inno.ptb.de'
V: label found; total label count: 1
V: label found; total label count: 2
V: label found; total label count: 3
V: Not a RFC 2595 wildcard
V: wildcard match failure of www.ptb.de against www.ex-inno.ptb.de
V: subjectAltName found but not matched: www.ex-inno.ptb.de, type: DNS
V: Inspecting 'www.ptb.de' for possible wildcard match against 'www.ex-proficiency-testing.ptb.de'
V: label found; total label count: 1
V: label found; total label count: 2
V: label found; total label count: 3
V: Not a RFC 2595 wildcard
V: wildcard match failure of www.ptb.de against www.ex-proficiency-testing.ptb.de
V: subjectAltName found but not matched: www.ex-proficiency-testing.ptb.de, type: DNS
V: Inspecting 'www.ptb.de' for possible wildcard match against 'www.ex-service.org'
V: label found; total label count: 1
V: label found; total label count: 2
V: label found; total label count: 3
V: Not a RFC 2595 wildcard
V: wildcard match failure of www.ptb.de against www.ex-service.org
V: subjectAltName found but not matched: www.ex-service.org, type: DNS
V: Inspecting 'www.ptb.de' for possible wildcard match against 'www.explosionsschutz.ptb.de'
V: label found; total label count: 1
V: label found; total label count: 2
V: label found; total label count: 3
V: Not a RFC 2595 wildcard
V: wildcard match failure of www.ptb.de against www.explosionsschutz.ptb.de
V: subjectAltName found but not matched: www.explosionsschutz.ptb.de, type: DNS
V: Inspecting 'www.ptb.de' for possible wildcard match against 'www.lac.ptb.de'
V: label found; total label count: 1
V: label found; total label count: 2
V: label found; total label count: 3
V: Not a RFC 2595 wildcard
V: wildcard match failure of www.ptb.de against www.lac.ptb.de
V: subjectAltName found but not matched: www.lac.ptb.de, type: DNS
V: subjectAltName matched: www.ptb.de, type: DNS
V: hostname verification passed
V: public key is ready for inspection
V: key type: EVP_PKEY_RSA
V: keybits: 2048
V: key length appears safe
V: server time 0 (difference is about 1366968093 s) was fetched in 370 ms
Thu Jan 1 00:00:00 UTC 1970
remote server is a false ticker!
$
git diff
diff --git a/configure.ac b/configure.ac
index b520066..f01bf8f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -122,7 +122,7 @@ AM_CONDITIONAL(POLARSSL, test "x${USE_POLARSSL}" = "xyes")
dnl Required headers
AS_IF([test "x${USE_POLARSSL}" != "xyes"], [
dnl First check to see if openssl is installed
- AC_CHECK_HEADERS([openssl/ssl.h], ,[AC_MSG_ERROR([OpenSSL is not installed, openssl/sslh is missing])])
+ AC_CHECK_HEADERS([openssl/ssl.h], ,[AC_MSG_ERROR([OpenSSL is not installed, openssl/ssl.h is missing])])
AC_CHECK_HEADERS([openssl/bio.h], ,[AC_MSG_ERROR([Required headers missing; compilation will not succeed])])
AC_CHECK_HEADERS([openssl/err.h], ,[AC_MSG_ERROR([Required headers missing; compilation will not succeed])])
AC_CHECK_HEADERS([openssl/evp.h], ,[AC_MSG_ERROR([Required headers missing; compilation will not succeed])])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment