kdc: remove krb5_ prefix for KDC attribute functions

We will use the kdc_ rather than krb5_kdc_ prefix for new public APIs exported
from libkdc. Amend the recently introduced
request_{get,set,copy,delete}_attribute APIs to conform.
This commit is contained in:
Luke Howard
2022-01-17 09:43:00 +11:00
committed by Jeffrey Altman
parent 5fa0b7b6ff
commit 4befd3e355
6 changed files with 23 additions and 23 deletions

View File

@@ -452,8 +452,8 @@ authorize(void *ctx,
} while (reconnect_p);
if (requestor_sid) {
krb5_kdc_request_set_attribute((kdc_request_t)r,
HSTR("org.h5l.gss-pa-requestor-sid"), requestor_sid);
kdc_request_set_attribute((kdc_request_t)r,
HSTR("org.h5l.gss-pa-requestor-sid"), requestor_sid);
heim_release(requestor_sid);
}
@@ -465,8 +465,8 @@ finalize_pac(void *ctx, astgs_request_t r)
{
heim_data_t requestor_sid;
requestor_sid = krb5_kdc_request_get_attribute((kdc_request_t)r,
HSTR("org.h5l.gss-pa-requestor-sid"));
requestor_sid = kdc_request_get_attribute((kdc_request_t)r,
HSTR("org.h5l.gss-pa-requestor-sid"));
if (requestor_sid == NULL)
return 0;