daemon/tls: fix broken compatibility with gnutls 3.3

Status Job ID Name Coverage
  Build
canceled #215054
amd64 linux docker
build:asan:linux:amd64

canceled #215053
amd64 linux docker
build:clang:linux:amd64

canceled #215052
amd64 linux docker
build:linux:amd64

canceled #215055
amd64 linux docker allowed to fail
srpm

 
  Test
canceled #215063
amd64 linux docker
deckard:linux:amd64

canceled #215071
privileged
distro:epel-7

canceled #215070
privileged
distro:fedora-29

canceled #215062
docker
doc

canceled #215060
dind
docker:build

canceled #215061
amd64 linux docker
installcheck:linux:amd64

canceled #215064
amd64 linux docker
installcheck:valgrind:linux:amd64

canceled #215057
docker
lint:c

canceled #215058
docker
lint:clang-scan-build

canceled #215056
docker
lint:lua

canceled #215065
docker
osx:build

canceled #215067
amd64 linux docker
pytests:lint

canceled #215068
amd64 linux docker
pytests:run

canceled #215069
amd64 linux docker
respdiff:iter:udp:linux:amd64

canceled #215059
amd64 linux docker
test:linux:amd64

canceled #215066
amd64 linux docker
test:linux:amd64:valgrind

 
  Extended
canceled #215072
amd64 linux docker
pytests:extended

canceled #215073
respdiff
respdiff:fwd-tls6-kresd.udp6

canceled #215074
respdiff
respdiff:fwd-udp6-kresd.udp6

canceled #215078
respdiff
respdiff:fwd-udp6-unbound.tcp6

canceled #215079
respdiff
respdiff:fwd-udp6-unbound.tls6

canceled #215077
respdiff
respdiff:fwd-udp6-unbound.udp6

canceled #215076
respdiff
respdiff:iter.tls6

canceled #215075
respdiff
respdiff:iter.udp6

canceled #215080
respdiff
resperf:fwd-tls6.udp-asan

canceled #215081
respdiff
resperf:fwd-udp6.udp-asan

canceled #215082
respdiff
resperf:iter.udp-asan