Fix an additional multiple-write case noted by John, where sendauth
authorKen Raeburn <raeburn@mit.edu>
Thu, 15 Jan 2009 19:15:22 +0000 (19:15 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 15 Jan 2009 19:15:22 +0000 (19:15 +0000)
commitcfdd330d1c0203d178b9b49932da952a41a0754f
treefb16627dde9e763f0b38b80e423ba340df49858b
parent95aebaa7f2ebdc1db54ef9a141deaace83a4a7f9
Fix an additional multiple-write case noted by John, where sendauth
calls write_message twice in a row.

Add new function krb5int_write_messages, calls krb5_net_writev with
multiple messages (currently only two at a time).  Use it from
krb5_write_message and krb5_sendauth.

ticket: 6339

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21752 dc483132-0cff-0310-8789-dd5450dbe970
src/include/k5-int.h
src/lib/krb5/krb/sendauth.c
src/lib/krb5/os/write_msg.c