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

@@ -126,8 +126,8 @@ finalize_reply(void *ctx, astgs_request_t r)
if (n == NULL)
return ENOMEM;
ret = krb5_kdc_request_set_attribute((kdc_request_t)r,
HSTR("org.h5l.tests.kdc-plugin"), n);
ret = kdc_request_set_attribute((kdc_request_t)r,
HSTR("org.h5l.tests.kdc-plugin"), n);
heim_release(n);
return ret;
@@ -143,8 +143,8 @@ audit(void *ctx, astgs_request_t r)
if (r->ret)
return 0; /* finalize_reply only called in success */
n = krb5_kdc_request_get_attribute((kdc_request_t)r,
HSTR("org.h5l.tests.kdc-plugin"));
n = kdc_request_get_attribute((kdc_request_t)r,
HSTR("org.h5l.tests.kdc-plugin"));
heim_assert(n && heim_number_get_int(n) == 1234,
"attribute not passed from finalize_reply");