From 7032209f75cb15e046f4e55e90899b8a6e88b492 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sun, 16 Jan 2000 10:22:42 +0000 Subject: [PATCH] (krb5_mk_req): make `service' and `hostname' const git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7800 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/mk_req.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/krb5/mk_req.c b/lib/krb5/mk_req.c index aa7342f7c..a021463ad 100644 --- a/lib/krb5/mk_req.c +++ b/lib/krb5/mk_req.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 1998, 1999 Kungliga Tekniska Högskolan + * Copyright (c) 1997 - 2000 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * @@ -39,8 +39,8 @@ krb5_error_code krb5_mk_req(krb5_context context, krb5_auth_context *auth_context, const krb5_flags ap_req_options, - char *service, - char *hostname, + const char *service, + const char *hostname, krb5_data *in_data, krb5_ccache ccache, krb5_data *outbuf) @@ -73,7 +73,7 @@ krb5_mk_req(krb5_context context, *realms, service, real_hostname, - NULL); + NULL); free (real_hostname); krb5_free_host_realm (context, realms);