From 9c8b70e4bc0af0182ba5a04869e94ecb646b932c Mon Sep 17 00:00:00 2001 From: Willem Toorop Date: Tue, 3 Mar 2020 13:03:58 +0000 Subject: [PATCH 1/3] Eliminate compile error --- src/gldns/wire2str.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gldns/wire2str.c b/src/gldns/wire2str.c index 1a8e2fb8..0620b0dc 100644 --- a/src/gldns/wire2str.c +++ b/src/gldns/wire2str.c @@ -14,6 +14,7 @@ * Contains functions to translate the wireformat to text * representation, as well as functions to print them. */ +#include #include "config.h" #include "gldns/wire2str.h" #include "gldns/str2wire.h" From e7d435e4266cf589fd7dc98b73302bf76db3d3c5 Mon Sep 17 00:00:00 2001 From: Willem Toorop Date: Tue, 3 Mar 2020 13:04:27 +0000 Subject: [PATCH 2/3] Name only authentication with GNUTLS --- src/stub.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/stub.c b/src/stub.c index e215fd51..15f40dc8 100644 --- a/src/stub.c +++ b/src/stub.c @@ -957,7 +957,9 @@ tls_create_object(getdns_dns_req *dnsreq, int fd, getdns_upstream *upstream) } } - _getdns_tls_connection_set_host_pinset(tls, upstream->tls_auth_name, upstream->tls_pubkey_pinset); + if (upstream->tls_pubkey_pinset) + _getdns_tls_connection_set_host_pinset( + tls, upstream->tls_auth_name, upstream->tls_pubkey_pinset); /* Session resumption. There are trade-offs here. Want to do it when possible only if we have the right type of connection. Note a change From 689415971a956eb8f82938e3e57847fe7d0094c0 Mon Sep 17 00:00:00 2001 From: Willem Toorop Date: Tue, 3 Mar 2020 13:14:45 +0000 Subject: [PATCH 3/3] Run all tests again --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0cca2b12..75d8f25d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,5 +23,5 @@ addons: script: - mkdir tests - cd tests -# - ../src/test/tpkg/run-all.sh - - ../src/test/tpkg/run-one.sh 290-transports.tpkg -V + - ../src/test/tpkg/run-all.sh +# - ../src/test/tpkg/run-one.sh 290-transports.tpkg -V