s4/dns_server: include request MAC in TSIG response MAC calculation
authorRalph Boehme <slow@samba.org>
Mon, 23 May 2016 17:09:05 +0000 (19:09 +0200)
committerGarming Sam <garming@samba.org>
Wed, 15 Jun 2016 22:06:27 +0000 (00:06 +0200)
commit8ed125e8bb13904638f8506e860c169f788e8ee9
tree22a477018a921fbad2715b01575aa670a5cdeeac
parentbea4aec521576576b8dc55065f11c6c5025d9c4f
s4/dns_server: include request MAC in TSIG response MAC calculation

According to RFC 2845 "4.2 TSIG on Answers", when the request is signed,
the request MAC must be included in the response MAC calculation.

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