[authfd.c]
     split line so that p will have an easier time next time around
This commit is contained in:
Ben Lindstrom 2001-03-05 06:33:23 +00:00
parent b40204bf22
commit afd3475ddf
2 changed files with 7 additions and 5 deletions

View File

@ -92,6 +92,9 @@
- markus@cvs.openbsd.org 2001/02/28 21:31:32
[channels.c]
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
- (bal) Remove make-ssh-known-hosts.1 since it's no longer valid.
@ -4284,4 +4287,4 @@
- Wrote replacements for strlcpy and mkdtemp
- 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 $

View File

@ -35,7 +35,7 @@
*/
#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>
@ -75,10 +75,9 @@ ssh_get_authentication_socket(void)
sunaddr.sun_family = AF_UNIX;
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;
#ifdef HAVE_SUN_LEN_IN_SOCKADDR_UN
sunaddr.sun_len = len;
#endif /* HAVE_SUN_LEN_IN_SOCKADDR_UN */
sock = socket(AF_UNIX, SOCK_STREAM, 0);