From fc994e88c5f0f457675b20f9fa29178a60f6317b Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sat, 6 Apr 2002 00:29:27 +0000 Subject: [PATCH] * sim_client.c: Always include stdlib.h. (main): Don't call valid_cksumtype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14363 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/simple/client/ChangeLog | 5 +++++ src/appl/simple/client/sim_client.c | 9 --------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/appl/simple/client/ChangeLog b/src/appl/simple/client/ChangeLog index 05cf2e547..908eef056 100644 --- a/src/appl/simple/client/ChangeLog +++ b/src/appl/simple/client/ChangeLog @@ -1,3 +1,8 @@ +2002-04-05 Ken Raeburn + + * sim_client.c: Always include stdlib.h. + (main): Don't call valid_cksumtype. + 2002-03-28 Ken Raeburn * sim_client.c: Include errno.h. diff --git a/src/appl/simple/client/sim_client.c b/src/appl/simple/client/sim_client.c index 2f6dfd416..d9a40dc82 100644 --- a/src/appl/simple/client/sim_client.c +++ b/src/appl/simple/client/sim_client.c @@ -42,11 +42,7 @@ #include "simple.h" -#ifdef HAVE_STDLIB_H #include -#else -extern char *malloc(); -#endif #ifdef HAVE_UNISTD_H #include #endif @@ -151,11 +147,6 @@ main(argc, argv) exit(1); } - if (!valid_cksumtype(CKSUMTYPE_CRC32)) { - com_err(progname, KRB5_PROG_SUMTYPE_NOSUPP, "while using CRC-32"); - exit(1); - } - /* Look up server host */ if ((host = gethostbyname(hostname)) == (struct hostent *) 0) { fprintf(stderr, "%s: unknown host\n", hostname); -- 2.26.2