From: Tom Yu Date: Fri, 25 Jul 1997 19:27:45 +0000 (+0000) Subject: * t_ser.c: Add support for changed kdb API X-Git-Tag: krb5-1.1-beta1~1095 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7faa30416aeea498e83f1e4f97449a0efa525436;p=krb5.git * t_ser.c: Add support for changed kdb API git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10129 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 5cd795478..0419b31c9 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,7 @@ +Fri Jul 25 15:25:32 1997 Tom Yu + + * t_ser.c: Add support for changed kdb API. + Tue Jul 15 22:15:09 1997 Theodore Y. Ts'o * serialize.c (krb5_register_serializer): Only copy over the old diff --git a/src/lib/krb5/krb/t_ser.c b/src/lib/krb5/krb/t_ser.c index f7b4cab38..9248f6d67 100644 --- a/src/lib/krb5/krb/t_ser.c +++ b/src/lib/krb5/krb/t_ser.c @@ -221,7 +221,8 @@ ser_kcontext_test(kcontext, verbose) if (!(kret = ser_data(verbose, "> Context with default realm", (krb5_pointer) kcontext, KV5M_CONTEXT)) && - !(kret = krb5_db_create(kcontext, dbname)) && + !(kret = krb5_db_create(kcontext, dbname, + KRB5_KDB_CREATE_BTREE)) && !(kret = krb5_db_set_name(kcontext, dbname)) && !(kret = krb5_db_init(kcontext)) && !(kret = ser_data(verbose, "> Context with open database", @@ -231,7 +232,7 @@ ser_kcontext_test(kcontext, verbose) !(kret = ser_data(verbose, "> Context with closed database", (krb5_pointer) kcontext, KV5M_CONTEXT))) { - kdb5_db_destroy(kcontext, dbname); + krb5_db_destroy(kcontext, dbname); if (verbose) printf("* krb5_context test succeeded\n"); }