sync HEAD with v0-3e tag. it seems that it was left behind when heimdal
0.3e is imported. without this change, lib/libhdb does not compile. PR12560
This commit is contained in:
parent
6ee451eb01
commit
500c4f040b
2
crypto/dist/heimdal/lib/hdb/db3.c
vendored
2
crypto/dist/heimdal/lib/hdb/db3.c
vendored
@ -33,7 +33,7 @@
|
||||
|
||||
#include "hdb_locl.h"
|
||||
|
||||
RCSID("$Id: db3.c,v 1.1.1.2 2001/02/11 13:51:40 assar Exp $");
|
||||
RCSID("$Id: db3.c,v 1.2 2001/04/06 08:32:35 itojun Exp $");
|
||||
|
||||
#if defined(HAVE_DB_H) && DB_VERSION_MAJOR == 3
|
||||
static krb5_error_code
|
||||
|
20
crypto/dist/heimdal/lib/hdb/hdb-private.h
vendored
20
crypto/dist/heimdal/lib/hdb/hdb-private.h
vendored
@ -13,4 +13,24 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
krb5_error_code
|
||||
_hdb_fetch __P((
|
||||
krb5_context context,
|
||||
HDB *db,
|
||||
unsigned flags,
|
||||
hdb_entry *entry));
|
||||
|
||||
krb5_error_code
|
||||
_hdb_remove __P((
|
||||
krb5_context context,
|
||||
HDB *db,
|
||||
hdb_entry *entry));
|
||||
|
||||
krb5_error_code
|
||||
_hdb_store __P((
|
||||
krb5_context context,
|
||||
HDB *db,
|
||||
unsigned flags,
|
||||
hdb_entry *entry));
|
||||
|
||||
#endif /* __hdb_private_h__ */
|
||||
|
17
crypto/dist/heimdal/lib/hdb/hdb-protos.h
vendored
17
crypto/dist/heimdal/lib/hdb/hdb-protos.h
vendored
@ -86,12 +86,23 @@ hdb_init_db __P((
|
||||
krb5_context context,
|
||||
HDB *db));
|
||||
|
||||
int
|
||||
hdb_key2principal __P((
|
||||
krb5_context context,
|
||||
krb5_data *key,
|
||||
krb5_principal p));
|
||||
|
||||
krb5_error_code
|
||||
hdb_ldap_create __P((
|
||||
krb5_context context,
|
||||
HDB ** db,
|
||||
const char *filename));
|
||||
|
||||
krb5_error_code
|
||||
hdb_lock __P((
|
||||
int fd,
|
||||
int operation));
|
||||
|
||||
krb5_error_code
|
||||
hdb_ndbm_create __P((
|
||||
krb5_context context,
|
||||
@ -105,6 +116,12 @@ hdb_next_enctype2key __P((
|
||||
krb5_enctype enctype,
|
||||
Key **key));
|
||||
|
||||
int
|
||||
hdb_principal2key __P((
|
||||
krb5_context context,
|
||||
krb5_principal p,
|
||||
krb5_data *key));
|
||||
|
||||
krb5_error_code
|
||||
hdb_print_entry __P((
|
||||
krb5_context context,
|
||||
|
2
crypto/dist/heimdal/lib/hdb/mkey.c
vendored
2
crypto/dist/heimdal/lib/hdb/mkey.c
vendored
@ -36,7 +36,7 @@
|
||||
#define O_BINARY 0
|
||||
#endif
|
||||
|
||||
RCSID("$Id: mkey.c,v 1.1.1.2 2001/02/11 13:51:40 assar Exp $");
|
||||
RCSID("$Id: mkey.c,v 1.2 2001/04/06 08:32:35 itojun Exp $");
|
||||
|
||||
struct hdb_master_key_data {
|
||||
krb5_keytab_entry keytab;
|
||||
|
Loading…
Reference in New Issue
Block a user