From 4646cd13f4f25e59debfc330e4ccad2f3fed91e2 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Fri, 2 Aug 1996 17:41:02 +0000 Subject: [PATCH] * acquire_cred.c (krb5_gss_acquire_cred): Add const to local variable which is pointing to const data. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8896 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/krb5/ChangeLog | 5 +++++ src/lib/gssapi/krb5/acquire_cred.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lib/gssapi/krb5/ChangeLog b/src/lib/gssapi/krb5/ChangeLog index b087e5c06..998f0d6c4 100644 --- a/src/lib/gssapi/krb5/ChangeLog +++ b/src/lib/gssapi/krb5/ChangeLog @@ -1,3 +1,8 @@ +Fri Aug 2 13:40:16 1996 Ezra Peisach + + * acquire_cred.c (krb5_gss_acquire_cred): Add const to local + variable which is pointing to const data. + Fri Jul 26 16:58:31 1996 Tom Yu * Makefile.in (OBJS): Remove trailing backslash on a comment; it diff --git a/src/lib/gssapi/krb5/acquire_cred.c b/src/lib/gssapi/krb5/acquire_cred.c index a1284087b..cf88bbd6f 100644 --- a/src/lib/gssapi/krb5/acquire_cred.c +++ b/src/lib/gssapi/krb5/acquire_cred.c @@ -267,7 +267,8 @@ krb5_gss_acquire_cred(minor_status, desired_name, time_req, krb5_context context; size_t i; krb5_gss_cred_id_t cred; - gss_OID_set valid_mechs, ret_mechs; + gss_OID_set ret_mechs; + const gss_OID_set_desc FAR * valid_mechs; int req_old, req_new; OM_uint32 ret; krb5_error_code code; -- 2.26.2