From 52c87fa16512c040066dbfd8d1811a1d28851850 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 27 Jun 2019 14:53:49 +1200 Subject: [PATCH] libcli/drsuapi: Correct comment in drsuapi_decrypt_attribute_value() This is not a copy, it is just a pointer assignment. Signed-off-by: Andrew Bartlett Reviewed-by: Andreas Schneider --- libcli/drsuapi/repl_decrypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcli/drsuapi/repl_decrypt.c b/libcli/drsuapi/repl_decrypt.c index 54e8ad0d8f6..81f695ad2c2 100644 --- a/libcli/drsuapi/repl_decrypt.c +++ b/libcli/drsuapi/repl_decrypt.c @@ -106,7 +106,7 @@ static WERROR drsuapi_decrypt_attribute_value(TALLOC_CTX *mem_ctx, gnutls_hash_deinit(hash_hnd, enc_key.data); /* - * copy the encrypted buffer part and + * reference the encrypted buffer part and * decrypt it using the created encryption key using arcfour */ dec_buffer = data_blob_const(enc_buffer.data, enc_buffer.length); -- 2.11.4.GIT