* kdb5.c (kdb_setup_opt_functions): Use it if promote_db is null.
* libkdb5.exports: Export krb5_db_promote.
ticket: 3964
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18292
dc483132-0cff-0310-8789-
dd5450dbe970
if (lib->vftabl.store_master_key == NULL) {
lib->vftabl.store_master_key = krb5_def_store_mkey;
}
+
+ if (lib->vftabl.promote_db == NULL) {
+ lib->vftabl.promote_db = krb5_def_promote_db;
+ }
}
static int kdb_db2_pol_err_loaded = 0;
return 0;
}
+krb5_error_code krb5_def_promote_db (krb5_context kcontext,
+ char *s, char **args)
+{
+ printf("default promote_db\n");
+ return EINVAL;
+}
krb5_db_delete_policy
krb5_db_free_policy
krb5_def_store_mkey
+krb5_db_promote