diff --git a/admin/admin_locl.h b/admin/admin_locl.h index 980739865..55a065b05 100644 --- a/admin/admin_locl.h +++ b/admin/admin_locl.h @@ -113,4 +113,12 @@ void set_password(hdb_entry *ent); time_t getlife(const char *prompt, const char *def); size_t putlife(time_t t, char *s, size_t len); +/* misc.c */ + +void set_master_key(EncryptionKey key); +Key *unseal_key(Key *key); +void seal_key(Key *key); + +#define ALLOC(X) ((X) = malloc(sizeof(*(X)))) + #endif /* __ADMIN_LOCL_H__ */