(krb_mk_req): conditionalize const-ness of arguments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8107 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -61,10 +61,18 @@ build_request(KTEXT req, char *name, char *inst, char *realm,
|
||||
krb5_data_free(&data);
|
||||
}
|
||||
|
||||
#ifdef KRB_MK_REQ_CONST
|
||||
int
|
||||
krb_mk_req(KTEXT authent,
|
||||
const char *service, const char *instance, const char *realm,
|
||||
int32_t checksum)
|
||||
#else
|
||||
int
|
||||
krb_mk_req(KTEXT authent,
|
||||
char *service, char *instance, char *realm,
|
||||
int32_t checksum)
|
||||
|
||||
#endif
|
||||
{
|
||||
CREDENTIALS cr;
|
||||
KTEXT_ST req;
|
||||
|
Reference in New Issue
Block a user