diff options
author | Ken Raeburn <raeburn@mit.edu> | 2002-04-06 00:29:27 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2002-04-06 00:29:27 +0000 |
commit | fc994e88c5f0f457675b20f9fa29178a60f6317b (patch) | |
tree | 1946efb9ec5c1acfd706b2219f4712f7f234db4c /src/appl/simple/client/sim_client.c | |
parent | 4b7a174cdea92f937ab6f9b43310d0512c27e102 (diff) | |
download | krb5-fc994e88c5f0f457675b20f9fa29178a60f6317b.zip krb5-fc994e88c5f0f457675b20f9fa29178a60f6317b.tar.gz krb5-fc994e88c5f0f457675b20f9fa29178a60f6317b.tar.bz2 |
* 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
Diffstat (limited to 'src/appl/simple/client/sim_client.c')
-rw-r--r-- | src/appl/simple/client/sim_client.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/appl/simple/client/sim_client.c b/src/appl/simple/client/sim_client.c index 2f6dfd4..d9a40dc 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 <stdlib.h> -#else -extern char *malloc(); -#endif #ifdef HAVE_UNISTD_H #include <unistd.h> #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); |