summaryrefslogtreecommitdiff
path: root/source4/dns_server/dns_crypto.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2015-12-03 15:24:26 +0100
committerJeremy Allison <jra@samba.org>2016-09-28 00:04:23 +0200
commit8416a97b301072dc3d3f46a28eadfa96cda48cc2 (patch)
treec0667f8bfd7c1901684ef82a1d22c17f7496ea74 /source4/dns_server/dns_crypto.c
parenta15159f5a5bb10c4cb0ecb360edf5fb420b47ec9 (diff)
downloadsamba-8416a97b301072dc3d3f46a28eadfa96cda48cc2.tar.gz
werror: replace WERR_INVALID_PARAM with WERR_INVALID_PARAMETER in source4/dns_server/
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/dns_server/dns_crypto.c')
-rw-r--r--source4/dns_server/dns_crypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dns_server/dns_crypto.c b/source4/dns_server/dns_crypto.c
index 462b7ff8ae4..0be9b8209aa 100644
--- a/source4/dns_server/dns_crypto.c
+++ b/source4/dns_server/dns_crypto.c
@@ -311,11 +311,11 @@ static WERROR dns_tsig_compute_mac(TALLOC_CTX *mem_ctx,
buffer_len += packet_blob.length;
if (buffer_len < packet_blob.length) {
- return WERR_INVALID_PARAM;
+ return WERR_INVALID_PARAMETER;
}
buffer_len += tsig_blob.length;
if (buffer_len < tsig_blob.length) {
- return WERR_INVALID_PARAM;
+ return WERR_INVALID_PARAMETER;
}
buffer = talloc_zero_array(mem_ctx, uint8_t, buffer_len);