From af271f39e70c3dcc76ac0334eb4b73a6843c252e Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Tue, 3 Oct 2000 16:04:36 +0000 Subject: [PATCH] * add_cred.c (krb5_gss_add_cred): krb5_cc_get_type() and krb5_cc_get_name() return const char *. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12710 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/krb5/ChangeLog | 5 +++++ src/lib/gssapi/krb5/add_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 821bf0b1b..9aafab0eb 100644 --- a/src/lib/gssapi/krb5/ChangeLog +++ b/src/lib/gssapi/krb5/ChangeLog @@ -1,3 +1,8 @@ +2000-10-03 Ezra Peisach + + * add_cred.c (krb5_gss_add_cred): krb5_cc_get_type() and + krb5_cc_get_name() return const char *. + Fri Sep 22 12:05:31 2000 Ezra Peisach * accept_sec_context.c (krb5_gss_accept_sec_context): When diff --git a/src/lib/gssapi/krb5/add_cred.c b/src/lib/gssapi/krb5/add_cred.c index 918c26412..63975f5b0 100644 --- a/src/lib/gssapi/krb5/add_cred.c +++ b/src/lib/gssapi/krb5/add_cred.c @@ -166,7 +166,8 @@ krb5_gss_add_cred(minor_status, input_cred_handle, /* make a copy */ krb5_gss_cred_id_t new_cred; char *kttype, ktboth[1024]; - char *cctype, *ccname, ccboth[1024]; + const char *cctype, *ccname; + char ccboth[1024]; if ((new_cred = (krb5_gss_cred_id_t) xmalloc(sizeof(krb5_gss_cred_id_rec))) -- 2.26.2