rewrite master key handling

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8546 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2000-07-05 13:08:13 +00:00
parent f5f8fb51f1
commit 0e3158a838
2 changed files with 412 additions and 2 deletions

View File

@@ -46,13 +46,14 @@ enum hdb_lockop{ HDB_RLOCK, HDB_WLOCK };
#define HDB_F_DECRYPT 1 /* decrypt keys */
#define HDB_F_REPLACE 2 /* replace entry */
typedef struct hdb_master_key_data *hdb_master_key;
typedef struct HDB{
void *db;
void *dbc;
char *name;
int master_key_set;
krb5_data master_key;
int master_key_version;
hdb_master_key master_key;
int openp;
krb5_error_code (*open)(krb5_context, struct HDB*, int, mode_t);