From: Andreas Schneider Date: Mon, 7 Mar 2022 09:23:18 +0000 (+0100) Subject: s4:kdc: Make pac parameter of samba_client_requested_pac() const X-Git-Tag: tevent-0.12.0~430 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27554581c1d870f7dd95e2ea984b4ac71b2014ce;p=thirdparty%2Fsamba.git s4:kdc: Make pac parameter of samba_client_requested_pac() const Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett Reviewed-by: Joseph Sutton --- diff --git a/source4/kdc/pac-glue.c b/source4/kdc/pac-glue.c index 1a4738c2916..5198adc7dec 100644 --- a/source4/kdc/pac-glue.c +++ b/source4/kdc/pac-glue.c @@ -715,7 +715,7 @@ bool samba_princ_needs_pac(struct samba_kdc_entry *skdc_entry) } int samba_client_requested_pac(krb5_context context, - krb5_pac *pac, + const krb5_pac *pac, TALLOC_CTX *mem_ctx, bool *requested_pac) { diff --git a/source4/kdc/pac-glue.h b/source4/kdc/pac-glue.h index c57928473a1..95911a793d7 100644 --- a/source4/kdc/pac-glue.h +++ b/source4/kdc/pac-glue.h @@ -39,7 +39,7 @@ krb5_error_code samba_make_krb5_pac(krb5_context context, bool samba_princ_needs_pac(struct samba_kdc_entry *skdc_entry); int samba_client_requested_pac(krb5_context context, - krb5_pac *pac, + const krb5_pac *pac, TALLOC_CTX *mem_ctx, bool *requested_pac);