- deraadt@cvs.openbsd.org 2001/03/01 02:11:25
[authfd.c] split line so that p will have an easier time next time around
This commit is contained in:
parent
b40204bf22
commit
afd3475ddf
|
@ -92,6 +92,9 @@
|
||||||
- markus@cvs.openbsd.org 2001/02/28 21:31:32
|
- markus@cvs.openbsd.org 2001/02/28 21:31:32
|
||||||
[channels.c]
|
[channels.c]
|
||||||
typo
|
typo
|
||||||
|
- deraadt@cvs.openbsd.org 2001/03/01 02:11:25
|
||||||
|
[authfd.c]
|
||||||
|
split line so that p will have an easier time next time around
|
||||||
|
|
||||||
20010304
|
20010304
|
||||||
- (bal) Remove make-ssh-known-hosts.1 since it's no longer valid.
|
- (bal) Remove make-ssh-known-hosts.1 since it's no longer valid.
|
||||||
|
@ -4284,4 +4287,4 @@
|
||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- Released 1.0pre1
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.878 2001/03/05 06:29:44 mouring Exp $
|
$Id: ChangeLog,v 1.879 2001/03/05 06:33:23 mouring Exp $
|
||||||
|
|
7
authfd.c
7
authfd.c
|
@ -35,7 +35,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
RCSID("$OpenBSD: authfd.c,v 1.35 2001/02/04 15:32:22 stevesk Exp $");
|
RCSID("$OpenBSD: authfd.c,v 1.36 2001/03/01 02:11:25 deraadt Exp $");
|
||||||
|
|
||||||
#include <openssl/evp.h>
|
#include <openssl/evp.h>
|
||||||
|
|
||||||
|
@ -75,10 +75,9 @@ ssh_get_authentication_socket(void)
|
||||||
|
|
||||||
sunaddr.sun_family = AF_UNIX;
|
sunaddr.sun_family = AF_UNIX;
|
||||||
strlcpy(sunaddr.sun_path, authsocket, sizeof(sunaddr.sun_path));
|
strlcpy(sunaddr.sun_path, authsocket, sizeof(sunaddr.sun_path));
|
||||||
#ifdef HAVE_SUN_LEN_IN_SOCKADDR_UN
|
|
||||||
sunaddr.sun_len = len = SUN_LEN(&sunaddr)+1;
|
|
||||||
#else /* HAVE_SUN_LEN_IN_SOCKADDR_UN */
|
|
||||||
len = SUN_LEN(&sunaddr)+1;
|
len = SUN_LEN(&sunaddr)+1;
|
||||||
|
#ifdef HAVE_SUN_LEN_IN_SOCKADDR_UN
|
||||||
|
sunaddr.sun_len = len;
|
||||||
#endif /* HAVE_SUN_LEN_IN_SOCKADDR_UN */
|
#endif /* HAVE_SUN_LEN_IN_SOCKADDR_UN */
|
||||||
|
|
||||||
sock = socket(AF_UNIX, SOCK_STREAM, 0);
|
sock = socket(AF_UNIX, SOCK_STREAM, 0);
|
||||||
|
|
Loading…
Reference in New Issue