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 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" 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