-
Notifications
You must be signed in to change notification settings - Fork 364
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove {GETSOCKNAME,GETPEERNAME}_ARG2_TYPE
We have had code since at least 1.6 in changepw.c and sendto_kdc.c which assumes that we can pass a struct sockaddr * as the second argument to getsockname() and getpeername(), so we can safely get rid of that configure logic. Also fix potential alignment issues in krb5_sendauth() by using a struct sockaddr_storage instead of a 1024-byte character buffer to hold the local and peer addresses. [ghudson@mit.edu: adjusted style of new code slightly; rewrote commit message]
- Loading branch information
1 parent
8815ad9
commit 1b907e0
Showing
4 changed files
with
15 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters