From 4d95acd3bca665ae5c1b00104003b312cbce14e3 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Sat, 22 Apr 1995 20:39:21 +0000 Subject: [PATCH] t_walk_rtree needs libcrypto.a to link for make check. t_walk_rtree.c - was not checking number of arguments properly git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5455 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/ChangeLog | 6 ++++++ src/lib/krb5/krb/Makefile.in | 3 ++- src/lib/krb5/krb/t_walk_rtree.c | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 55e9f2974..086aeb303 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,9 @@ +Sat Apr 22 11:06:45 1995 Ezra Peisach (epeisach@kangaroo.mit.edu) + + * Makefile.in: t_walk_rtree needs libcrypto + + * t_walk_rtree.c: error in checking for argument count + Thu Apr 20 16:23:23 1995 Theodore Y. Ts'o (tytso@dcl) * copy_addrs.c, copy_athctr.c, copy_auth.c, copy_cksum.c, diff --git a/src/lib/krb5/krb/Makefile.in b/src/lib/krb5/krb/Makefile.in index b61596224..d7d9dda2f 100644 --- a/src/lib/krb5/krb/Makefile.in +++ b/src/lib/krb5/krb/Makefile.in @@ -139,7 +139,8 @@ all:: $(OBJS) COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a T_WALK_RTREE_OBJS= t_walk_rtree.o walk_rtree.o tgtname.o unparse.o \ - free_rtree.o bld_pr_ext.o $(COMERRLIB) $(TOPLIBD)/libkrb5.a + free_rtree.o bld_pr_ext.o $(COMERRLIB) $(TOPLIBD)/libkrb5.a \ + $(TOPLIBD)/libcrypto.a t_walk_rtree: $(T_WALK_RTREE_OBJS) $(CC) -o t_walk_rtree $(T_WALK_RTREE_OBJS) diff --git a/src/lib/krb5/krb/t_walk_rtree.c b/src/lib/krb5/krb/t_walk_rtree.c index 88ca4e1ee..c61ec4ef3 100644 --- a/src/lib/krb5/krb/t_walk_rtree.c +++ b/src/lib/krb5/krb/t_walk_rtree.c @@ -20,7 +20,7 @@ main(argc, argv) krb5_init_context(&context); krb5_init_ets(context); - if (argc < 3 && argc > 4) { + if (argc < 3 || argc > 4) { fprintf(stderr, "Usage: %s client-realm server-realm [sep_char]\n", argv[0]); -- 2.26.2