From cf4333b0cd675271628d89ec263b9a352fa63906 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Wed, 5 Sep 2012 08:08:24 +0200 Subject: hack: dns_sign_tsig correct memcpy --- source4/dns_server/dns_crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/dns_server') diff --git a/source4/dns_server/dns_crypto.c b/source4/dns_server/dns_crypto.c index d7360a9d8f..7a049c04ef 100644 --- a/source4/dns_server/dns_crypto.c +++ b/source4/dns_server/dns_crypto.c @@ -291,7 +291,7 @@ WERROR dns_sign_tsig(struct dns_server *dns, } memcpy(buffer, packet_blob.data, packet_blob.length); - memcpy(buffer, tsig_blob.data, tsig_blob.length); + memcpy(buffer+packet_blob.length, tsig_blob.data, tsig_blob.length); status = gensec_sign_packet(tkey->gensec, mem_ctx, buffer, buffer_len, -- cgit