Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/dist/ipsec-tools Fix Xauth login with PAM authentication



details:   https://anonhg.NetBSD.org/src/rev/cd6788031d1e
branches:  trunk
changeset: 581753:cd6788031d1e
user:      manu <manu%NetBSD.org@localhost>
date:      Sat Jun 04 22:09:27 2005 +0000

description:
Fix Xauth login with PAM authentication

diffstat:

 crypto/dist/ipsec-tools/ChangeLog            |  3 +++
 crypto/dist/ipsec-tools/src/racoon/privsep.c |  4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 9e7153229b3f -r cd6788031d1e crypto/dist/ipsec-tools/ChangeLog
--- a/crypto/dist/ipsec-tools/ChangeLog Sat Jun 04 22:05:40 2005 +0000
+++ b/crypto/dist/ipsec-tools/ChangeLog Sat Jun 04 22:09:27 2005 +0000
@@ -2,6 +2,9 @@
 
        * src/racoon/isakmp_quick.c: endianness bug fix
 
+       From Frederic Senault  <fred%lacave.net@localhost>
+       * src/racoon/privsep.c: fix Xauth login with PAM authentication
+
 2005-05-31  Aidas Kasparas  <a.kasparas%gmc.lt@localhost>
 
        * src/racoon/ipsec_doi.c: Inserted missing 0th element of
diff -r 9e7153229b3f -r cd6788031d1e crypto/dist/ipsec-tools/src/racoon/privsep.c
--- a/crypto/dist/ipsec-tools/src/racoon/privsep.c      Sat Jun 04 22:05:40 2005 +0000
+++ b/crypto/dist/ipsec-tools/src/racoon/privsep.c      Sat Jun 04 22:09:27 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: privsep.c,v 1.1.1.4 2005/03/16 23:53:12 manu Exp $     */
+/*     $NetBSD: privsep.c,v 1.2 2005/06/04 22:09:27 manu Exp $ */
 
 /* Id: privsep.c,v 1.6.2.4 2005/03/16 23:18:43 manubsd Exp */
 
@@ -556,7 +556,7 @@
                                break;
 
                        memcpy(&port, bufs[0], sizeof(port));
-                       raddr = (struct sockaddr *)&bufs[1];
+                       raddr = (struct sockaddr *)bufs[1];
                        
                        bufs[2][combuf->bufs.buflen[2] - 1] = '\0';
                        bufs[3][combuf->bufs.buflen[3] - 1] = '\0';



Home | Main Index | Thread Index | Old Index