diff options
author | Kai Blin <kai@samba.org> | 2012-09-05 08:08:24 +0200 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2012-09-05 08:41:23 +0200 |
commit | cf4333b0cd675271628d89ec263b9a352fa63906 (patch) | |
tree | 7bd16abffc62314e91947895f3eb6c59a0bb60f1 | |
parent | a0c2453405fe8e92e0871b79eec0ceb76eec0aaa (diff) | |
download | samba-cf4333b0cd675271628d89ec263b9a352fa63906.tar.gz samba-cf4333b0cd675271628d89ec263b9a352fa63906.tar.bz2 samba-cf4333b0cd675271628d89ec263b9a352fa63906.zip |
hack: dns_sign_tsig correct memcpy
-rw-r--r-- | source4/dns_server/dns_crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |