From 2b7332d8ed91014849ab6a4883594c363769abb8 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Thu, 3 Jun 1993 00:15:09 +0000 Subject: [PATCH] Make sendauth() work if the passed-in checksum pointer is NULL git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2557 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/sendauth.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/lib/krb5/krb/sendauth.c b/src/lib/krb5/krb/sendauth.c index cb3180495..5337e0542 100644 --- a/src/lib/krb5/krb/sendauth.c +++ b/src/lib/krb5/krb/sendauth.c @@ -74,7 +74,6 @@ krb5_sendauth(/* IN */ krb5_flags kdc_options = krb5_kdc_default_options; krb5_octet result; krb5_creds creds; - krb5_checksum checksum; krb5_error_code retval = 0; krb5_authenticator authent; krb5_data inbuf, outbuf; @@ -141,15 +140,6 @@ krb5_sendauth(/* IN */ } } - /* - * If no checksum was provided, supply a zero checksum structure - */ - - if (!checksump) { - memset((char *)&checksum, 0, sizeof(checksum)); - checksump = &checksum; - } - /* * Generate a random sequence number */ -- 2.26.2