]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:kdc: Move parameter comments adjacent to parameters
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Fri, 19 May 2023 01:15:45 +0000 (13:15 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 24 May 2023 00:50:31 +0000 (00:50 +0000)
This is more consistent with the non-NULL parameters, and makes it
easier to swap in the real values when we get them.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/kdc/mit_samba.c

index 652090a85710c7d87dded89e449bbce2eeafa0dc..d1bfc2fcc3df19e171cf8402e4dec7d27d55dca0 100644 (file)
@@ -602,10 +602,10 @@ int mit_samba_get_pac(struct mit_samba_context *smb_ctx,
                                   upn_dns_info_blob,
                                   pac_attrs_blob,
                                   requester_sid_blob,
-                                  NULL, /* deleg_blob */
+                                  NULL /* deleg_blob */,
                                   client_claims_blob,
-                                  NULL, /* device_info_blob */
-                                  NULL, /* device_claims_blob */
+                                  NULL /* device_info_blob */,
+                                  NULL /* device_claims_blob */,
                                   *pac);
 
        talloc_free(tmp_ctx);
@@ -693,8 +693,8 @@ krb5_error_code mit_samba_reget_pac(struct mit_samba_context *ctx,
                                    flags,
                                    client_skdc_entry,
                                    krbtgt_skdc_entry,
-                                   NULL, /* device */
-                                   NULL, /* device_pac */
+                                   NULL /* device */,
+                                   NULL /* device_pac */,
                                    *pac);
        if (code != 0) {
                goto done;
@@ -714,8 +714,8 @@ krb5_error_code mit_samba_reget_pac(struct mit_samba_context *ctx,
                                    server->princ,
                                    server_skdc_entry,
                                    delegated_proxy_principal,
-                                   NULL, /* device */
-                                   NULL, /* device_pac */
+                                   NULL /* device */,
+                                   NULL /* device_pac */,
                                    *pac,
                                    new_pac);
        if (code != 0) {
@@ -813,8 +813,8 @@ krb5_error_code mit_samba_update_pac(struct mit_samba_context *ctx,
                                    flags,
                                    client_skdc_entry,
                                    krbtgt_skdc_entry,
-                                   NULL, /* device */
-                                   NULL, /* device_pac */
+                                   NULL /* device */,
+                                   NULL /* device_pac */,
                                    old_pac);
        if (code != 0) {
                goto done;
@@ -827,9 +827,9 @@ krb5_error_code mit_samba_update_pac(struct mit_samba_context *ctx,
                                    client_skdc_entry,
                                    server->princ,
                                    server_skdc_entry,
-                                   NULL, /* delegated_proxy_principal */
-                                   NULL, /* device */
-                                   NULL, /* device_pac */
+                                   NULL /* delegated_proxy_principal */,
+                                   NULL /* device */,
+                                   NULL /* device_pac */,
                                    old_pac,
                                    new_pac);
        if (code != 0) {