t_ser should no longer use kdb libraries
authorEzra Peisach <epeisach@mit.edu>
Tue, 14 Aug 2007 18:22:58 +0000 (18:22 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 14 Aug 2007 18:22:58 +0000 (18:22 +0000)
Remove the call to krb5_db_fini() - as rest of the db code was pulled
during DAL integration.  This removes dependency on db libraries -
alter Makefile.in.

ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19822 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/Makefile.in
src/lib/krb5/krb/t_ser.c

index 088d58a05b334f989e787e7f06c385cd45d3f05c..93d31db41c24b7f7c72c42182961b41a65dc17a6 100644 (file)
@@ -312,9 +312,8 @@ t_walk_rtree: $(T_WALK_RTREE_OBJS) $(KRB5_BASE_DEPLIBS)
 t_kerb: $(T_KERB_OBJS) $(KRB5_BASE_DEPLIBS)
        $(CC_LINK) -o t_kerb $(T_KERB_OBJS) $(KRB5_BASE_LIBS)
 
-t_ser: $(T_SER_OBJS) $(KDB5_DEPLIBS) $(KRB5_BASE_DEPLIBS)
-       $(CC_LINK) -o t_ser $(T_SER_OBJS) \
-               $(KDB5_LIBS) $(KRB5_BASE_LIBS) $(DL_LIB) $(THREAD_LINKOPTS)
+t_ser: $(T_SER_OBJS) $(KRB5_BASE_DEPLIBS)
+       $(CC_LINK) -o t_ser $(T_SER_OBJS) $(KRB5_BASE_LIBS) 
 
 t_deltat : $(T_DELTAT_OBJS) $(SUPPORT_DEPLIB)
        $(CC_LINK) -o t_deltat $(T_DELTAT_OBJS) $(SUPPORT_LIB)
index 383b6708dbaeac40d35b703e3e917567e6ce2d37..47971d350f14a322084c3b0b607d35aa1e75319d 100644 (file)
@@ -136,7 +136,6 @@ ser_data(int verbose, char *msg, krb5_pointer ctx, krb5_magic dtype)
            /* Free the data */
            switch (dtype) {
            case KV5M_CONTEXT:
-               krb5_db_fini((krb5_context) nctx);
                krb5_free_context((krb5_context) nctx);
                break;
            case KV5M_AUTH_CONTEXT: