Fix send_to_kdc for Windows sockets
commit6ae305e7a43c179f07b7652c7bfe6550304c94a2
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 12 Sep 2013 16:03:05 +0000 (12 12:03 -0400)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 12 Sep 2013 16:36:39 +0000 (12 12:36 -0400)
tree027c49bf49e7e783ad2be0457fbdbbf86824a47e
parent649a1f8ff36ce552b23d4ad595607568695a5843
Fix send_to_kdc for Windows sockets

Patchset 58ff48076389cae8571733659de162b0b341f0a6 calls write() and read()
on rk_socket_t objects which on Windows are SOCKETs not C RTL file
descriptors.  This patchset uses krb5_net_write() and krb5_net_read()
in place of the direct write() and read() operations.

Change-Id: I3f7d4756357d432e4e62910f9a36824eb188b6e4
lib/krb5/send_to_kdc.c