]> git.ipfire.org Git - thirdparty/krb5.git/commit
Remove unneeded variable enc_tkt_transited
authorBen Kaduk <kaduk@mit.edu>
Fri, 4 Oct 2013 16:58:30 +0000 (12:58 -0400)
committerBen Kaduk <kaduk@mit.edu>
Fri, 4 Oct 2013 17:23:30 +0000 (13:23 -0400)
commit36c8a474bdd05d3f5be94b007dae46f0986adfa2
treeee15bddae3b585c4331bfdcf7667c7f7972f96cd
parent040f621b5071564b6b479e3375c9d63cbd3ee471
Remove unneeded variable enc_tkt_transited

There's no need to use an intermediate variable to initialize the
contents of enc_tkt_reply.transited.

Instead of setting each field to zero individually (and misspelling NULL),
use memset and set the one field which is being initialized to a nonzero
value explicitly.
src/kdc/do_tgs_req.c