s4/dns_server: ensure we store the key name in error code paths
authorRalph Boehme <slow@samba.org>
Mon, 30 May 2016 14:37:32 +0000 (16:37 +0200)
committerGarming Sam <garming@samba.org>
Wed, 15 Jun 2016 22:06:27 +0000 (00:06 +0200)
commit77c5bfdce417a36b523e9901668fbff0d42f1ed2
tree384379923646e0b6fbf56c7c680142d487c1defa
parentc1fca8fa398461fb0a67dbb0e181c71b83a32b62
s4/dns_server: ensure we store the key name in error code paths

We need the TKEY name when adding TSIG records to error responses.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11520

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source4/dns_server/dns_crypto.c