Added certificate revoke information from configuration file.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17054 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -71,6 +71,7 @@ int fcache_version;
|
||||
char *pk_user_id = NULL;
|
||||
char *pk_x509_anchors = NULL;
|
||||
char **pk_x509_pool = NULL;
|
||||
char **pk_x509_revoke = NULL;
|
||||
|
||||
|
||||
static char *krb4_cc_name;
|
||||
@@ -466,6 +467,7 @@ get_new_tickets(krb5_context context,
|
||||
pk_user_id,
|
||||
pk_x509_anchors,
|
||||
pk_x509_pool,
|
||||
pk_x509_revoke,
|
||||
0,
|
||||
NULL,
|
||||
NULL,
|
||||
@@ -808,6 +810,12 @@ main (int argc, char **argv)
|
||||
"pkinit-pool",
|
||||
NULL);
|
||||
|
||||
pk_x509_revoke = krb5_config_get_strings(context, NULL,
|
||||
"appdefaults",
|
||||
"pkinit-revoke",
|
||||
NULL);
|
||||
|
||||
|
||||
if (pk_x509_anchors == NULL)
|
||||
krb5_appdefault_string(context, "kinit",
|
||||
krb5_principal_get_realm(context, principal),
|
||||
|
Reference in New Issue
Block a user