(NDBM_seq): unseal key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5299 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 1998 Kungliga Tekniska H<>gskolan
|
||||
* Copyright (c) 1997, 1998, 1999 Kungliga Tekniska H<>gskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -94,6 +94,8 @@ NDBM_seq(krb5_context context, HDB *db, hdb_entry *entry, int first)
|
||||
data.length = value.dsize;
|
||||
if(hdb_value2entry(context, &data, entry))
|
||||
return NDBM_seq(context, db, entry, 0);
|
||||
if (db->master_key_set)
|
||||
hdb_unseal_keys (entry, db->master_key);
|
||||
if (entry->principal == NULL) {
|
||||
entry->principal = malloc (sizeof(*entry->principal));
|
||||
hdb_key2principal (context, &key_data, entry->principal);
|
||||
|
Reference in New Issue
Block a user