krb5_principal,
krb5_kvno,
krb5_keyblock **));
-krb5_const_pointer keyprocarg;
+krb5_pointer keyprocarg;
krb5_rcache rcache;
krb5_tkt_authent *tktauthent;
{
krb5_timestamp currenttime;
- if (!krb5_principal_compare(server, req->ticket->server))
+ if (!krb5_principal_compare(server,
+ (krb5_const_principal) req->ticket->server))
return KRB5KRB_AP_WRONG_PRINC;
/* if (req->ap_options & AP_OPTS_USE_SESSION_KEY)
}
#define clean_authenticator() {(void) krb5_free_authenticator(tktauthent->authenticator); tktauthent->authenticator = 0;}
- if (!krb5_principal_compare(tktauthent->authenticator->client,
- req->ticket->enc_part2->client)) {
+ if (!krb5_principal_compare((krb5_const_principal)tktauthent->authenticator->client,
+ (krb5_const_principal)req->ticket->enc_part2->client)) {
clean_authenticator();
return KRB5KRB_AP_ERR_BADMATCH;
}