try to use handle using openssl instead of libdes better. based on patches from GOMBAS Gabor <gombasg@inf.elte.hu> and Brian May <bam@snoopy.apana.org.au>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9681 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997-2000 Kungliga Tekniska H<>gskolan
|
||||
* Copyright (c) 1997-2001 Kungliga Tekniska H<>gskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -56,7 +56,11 @@
|
||||
#endif
|
||||
#include <roken.h>
|
||||
|
||||
#ifdef HAVE_OPENSSL_DES_H
|
||||
#include <openssl/des.h>
|
||||
#else
|
||||
#include <des.h>
|
||||
#endif
|
||||
#include <krb5.h>
|
||||
#include <hdb.h>
|
||||
#include <hdb-private.h>
|
||||
@@ -73,14 +77,4 @@
|
||||
#include <gdbm/ndbm.h>
|
||||
#endif
|
||||
|
||||
int hdb_principal2key(krb5_context, krb5_principal, krb5_data*);
|
||||
int hdb_key2principal(krb5_context, krb5_data*, krb5_principal);
|
||||
|
||||
krb5_error_code hdb_lock(int, int);
|
||||
krb5_error_code hdb_unlock(int);
|
||||
|
||||
krb5_error_code _hdb_fetch(krb5_context, HDB*, unsigned, hdb_entry*);
|
||||
krb5_error_code _hdb_store(krb5_context, HDB*, unsigned, hdb_entry*);
|
||||
krb5_error_code _hdb_remove(krb5_context, HDB*, hdb_entry*);
|
||||
|
||||
#endif /* __HDB_LOCL_H__ */
|
||||
|
Reference in New Issue
Block a user