From: Theodore Tso Date: Thu, 3 Jun 1993 00:15:09 +0000 (+0000) Subject: Make sendauth() work if the passed-in checksum pointer is NULL X-Git-Tag: krb5-1.0-beta3~281 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2b7332d8ed91014849ab6a4883594c363769abb8;p=krb5.git 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 --- 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 */