_kdc_pk_initialize needs to be exported for kdc-replay

prompted by patch from Gabor Gombas <gombasg@sztaki.hu>
This commit is contained in:
Love Hornquist Astrand
2009-11-25 05:08:44 -08:00
parent 17bfa5d3e5
commit 55db6909fe
4 changed files with 17 additions and 16 deletions

View File

@@ -356,11 +356,11 @@ configure(krb5_context context, int argc, char **argv)
if (config->pkinit_kdc_anchors == NULL)
krb5_errx(context, 1, "pkinit enabled but no X509 anchors");
_kdc_pk_initialize(context, config,
config->pkinit_kdc_identity,
config->pkinit_kdc_anchors,
config->pkinit_kdc_cert_pool,
config->pkinit_kdc_revoke);
krb5_kdc_pk_initialize(context, config,
config->pkinit_kdc_identity,
config->pkinit_kdc_anchors,
config->pkinit_kdc_cert_pool,
config->pkinit_kdc_revoke);
}

View File

@@ -95,11 +95,11 @@ main(int argc, char **argv)
if (config->pkinit_kdc_anchors == NULL)
krb5_errx(context, 1, "pkinit enabled but no X509 anchors");
_kdc_pk_initialize(context, config,
config->pkinit_kdc_identity,
config->pkinit_kdc_anchors,
config->pkinit_kdc_cert_pool,
config->pkinit_kdc_revoke);
krb5_kdc_pk_initialize(context, config,
config->pkinit_kdc_identity,
config->pkinit_kdc_anchors,
config->pkinit_kdc_cert_pool,
config->pkinit_kdc_revoke);
}

View File

@@ -1945,12 +1945,12 @@ load_mappings(krb5_context context, const char *fn)
*/
krb5_error_code
_kdc_pk_initialize(krb5_context context,
krb5_kdc_configuration *config,
const char *user_id,
const char *anchors,
char **pool,
char **revoke_list)
krb5_kdc_pk_initialize(krb5_context context,
krb5_kdc_configuration *config,
const char *user_id,
const char *anchors,
char **pool,
char **revoke_list)
{
const char *file;
char *fn = NULL;

View File

@@ -13,6 +13,7 @@ HEIMDAL_KDC_1.0 {
krb5_kdc_process_request;
krb5_kdc_save_request;
krb5_kdc_update_time;
krb5_kdc_pk_initialize;
local:
*;
};