1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

s4:kdc: Make krb5_principal parameters const

The ‘const’ is entirely unnecessary in a function declaration, but we
add it just to be consistent.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-06-16 12:17:50 +12:00 committed by Andrew Bartlett
parent f857967427
commit d2a6c69940
2 changed files with 4 additions and 4 deletions

View File

@ -2295,9 +2295,9 @@ krb5_error_code samba_kdc_update_pac(TALLOC_CTX *mem_ctx,
struct ldb_context *samdb,
uint32_t flags,
struct samba_kdc_entry *client,
const krb5_principal server_principal,
const krb5_const_principal server_principal,
const struct samba_kdc_entry *server,
const krb5_principal delegated_proxy_principal,
const krb5_const_principal delegated_proxy_principal,
struct samba_kdc_entry *device,
const krb5_const_pac device_pac,
const krb5_const_pac old_pac,

View File

@ -134,9 +134,9 @@ krb5_error_code samba_kdc_update_pac(TALLOC_CTX *mem_ctx,
struct ldb_context *samdb,
uint32_t flags,
struct samba_kdc_entry *client,
krb5_principal server_principal,
const krb5_const_principal server_principal,
const struct samba_kdc_entry *server,
krb5_principal delegated_proxy_principal,
const krb5_const_principal delegated_proxy_principal,
struct samba_kdc_entry *device,
krb5_const_pac device_pac,
krb5_const_pac old_pac,