]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
- deraadt@cvs.openbsd.org 2001/03/01 02:11:25
authorBen Lindstrom <mouring@eviladmin.org>
Mon, 5 Mar 2001 06:33:23 +0000 (06:33 +0000)
committerBen Lindstrom <mouring@eviladmin.org>
Mon, 5 Mar 2001 06:33:23 +0000 (06:33 +0000)
     [authfd.c]
     split line so that p will have an easier time next time around

ChangeLog
authfd.c

index bce6a5372b0933089306ddfcb39d160184bec0bc..3c3f8f97705ffd74114d7b5f621a0c30e50120ee 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
  - 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 $
index db877e43e7fc09900884ad0cbc282459dd8528d9..74518e3fbadde9507d25a22e67884b5a05d7284b 100644 (file)
--- a/authfd.c
+++ b/authfd.c
@@ -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);