Remove setup_master_key_name from the DAL table as it was not used
authorGreg Hudson <ghudson@mit.edu>
Fri, 2 Jul 2010 17:18:46 +0000 (17:18 +0000)
committerGreg Hudson <ghudson@mit.edu>
Fri, 2 Jul 2010 17:18:46 +0000 (17:18 +0000)
ticket: 6749
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24163 dc483132-0cff-0310-8789-dd5450dbe970

src/include/kdb.h
src/plugins/kdb/db2/db2_exp.c
src/plugins/kdb/ldap/ldap_exp.c

index 31f2b1350996461dbaf4ae9c6cb071c6f5b02d02..4406126b93a12ea2450215c6970c71ae5c06aa0f 100644 (file)
@@ -1151,12 +1151,6 @@ typedef struct _kdb_vftabl {
     krb5_error_code (*get_master_key_list)(krb5_context kcontext,
                                            krb5_keylist_node **keylist);
 
-    /* This function has no entry point in libkdb5; leave it as NULL. */
-    krb5_error_code (*setup_master_key_name)(krb5_context kcontext,
-                                             char *keyname, char *realm,
-                                             char **fullname,
-                                             krb5_principal *principal);
-
     /*
      * Optional with default: Save a master keyblock into the stash file
      * db_arg.  master_pwd indicates the password used to derive the keyblock,
index 74963cdd8ade063981cdab6f7498b9087dfa6890..384d2eeda59eb779287e1041f235cbe8c276d12a 100644 (file)
@@ -246,7 +246,7 @@ kdb_vftabl PLUGIN_SYMBOL_NAME(krb5_db2, kdb_function_table) = {
     /* db_free */                                krb5_db2_free,
     /* set_master_key_list */                    wrap_krb5_db2_db_set_mkey_list,
     /* get_master_key_list */                    wrap_krb5_db2_db_get_mkey_list,
-    /* blah blah blah */ 0,0,0,0,0,0,0,0,
+    /* blah blah blah */ 0,0,0,0,0,0,0,
     /* promote_db */                             wrap_krb5_db2_promote_db,
     0, 0,
     /* invoke */                                 wrap_krb5_db2_invoke
index 1846d9240dd1cb77efeb4b25e94335451902feb5..2b0fc62ef6059210cfe15682e5d3e657d93e4302 100644 (file)
@@ -74,7 +74,6 @@ kdb_vftabl PLUGIN_SYMBOL_NAME(krb5_ldap, kdb_function_table) = {
     /* optional functions */
     /* set_master_key_list */               krb5_ldap_set_mkey_list,
     /* get_master_key_list */               krb5_ldap_get_mkey_list,
-    /* setup_master_key_name */             NULL,
     /* store_master_key */                  NULL,
     /* fetch_master_key */                  NULL /* krb5_ldap_fetch_mkey */,
     /* verify_master_key */                 NULL /* krb5_ldap_verify_master_key */,