]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libcli/drsuapi: Correct comment in drsuapi_decrypt_attribute_value()
authorAndrew Bartlett <abartlet@samba.org>
Thu, 27 Jun 2019 02:53:49 +0000 (14:53 +1200)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 27 Jun 2019 12:54:23 +0000 (12:54 +0000)
This is not a copy, it is just a pointer assignment.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
libcli/drsuapi/repl_decrypt.c

index 54e8ad0d8f6bdd5b508952df1d243ab15e9f2dbc..81f695ad2c293e23140e856eb0693e7ae8e58b6d 100644 (file)
@@ -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);