* sim_client.c: Always include stdlib.h.
authorKen Raeburn <raeburn@mit.edu>
Sat, 6 Apr 2002 00:29:27 +0000 (00:29 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 6 Apr 2002 00:29:27 +0000 (00:29 +0000)
(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
src/appl/simple/client/sim_client.c

index 05cf2e54730742f3f0182d1a22f247ca68947b3a..908eef056a673eae46629254a12f9c38e27f88ad 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-05  Ken Raeburn  <raeburn@mit.edu>
+
+       * sim_client.c: Always include stdlib.h.
+       (main): Don't call valid_cksumtype.
+
 2002-03-28  Ken Raeburn  <raeburn@mit.edu>
 
        * sim_client.c: Include errno.h.
index 2f6dfd416a5e9cae77fc8d8c7ab888a2ed8be038..d9a40dc8218da09b7bc0cea70b38ca639ea8bfbd 100644 (file)
 
 #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);