version 1.4, 2002/07/15 22:54:26 |
version 1.5, 2002/09/06 18:55:04 |
|
|
} else { |
} else { |
char num[8]; |
char num[8]; |
int s2 = getport(&lport), s3; |
int s2 = getport(&lport), s3; |
int len = sizeof(from); |
socklen_t len = sizeof(from); |
|
|
if (s2 < 0) { |
if (s2 < 0) { |
status = -1; |
status = -1; |
|
|
|
|
/* set up the needed stuff for mutual auth, but only if necessary */ |
/* set up the needed stuff for mutual auth, but only if necessary */ |
if (authopts & KOPT_DO_MUTUAL) { |
if (authopts & KOPT_DO_MUTUAL) { |
int sin_len; |
socklen_t sin_len; |
*faddr = sin; |
*faddr = sin; |
|
|
sin_len = sizeof(struct sockaddr_in); |
sin_len = sizeof(struct sockaddr_in); |