use krb5_add_et_list
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10168 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).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -232,7 +232,7 @@ hdb_create(krb5_context context, HDB **db, const char *filename)
|
|||||||
|
|
||||||
if(filename == NULL)
|
if(filename == NULL)
|
||||||
filename = HDB_DEFAULT_DB;
|
filename = HDB_DEFAULT_DB;
|
||||||
initialize_hdb_error_table_r(&context->et_list);
|
krb5_add_et_list(context, initialize_hdb_error_table_r);
|
||||||
h = find_method (filename, &residual);
|
h = find_method (filename, &residual);
|
||||||
if (h == NULL)
|
if (h == NULL)
|
||||||
krb5_errx(context, 1, "No database support! (hdb_create)");
|
krb5_errx(context, 1, "No database support! (hdb_create)");
|
||||||
|
Reference in New Issue
Block a user