Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/openssh/files: openssh-5.1_p1-better-ssp-check.patch
Date: Tue, 13 Jan 2009 02:38:50
Message-Id: E1LMZB0-0007dd-6m@stork.gentoo.org
vapier      09/01/13 02:38:46

  Modified:             openssh-5.1_p1-better-ssp-check.patch
  Log:
  Fixup ssp detection patch #254365 by Felix Riemann.
  (Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)

Revision  Changes    Path
1.4                  net-misc/openssh/files/openssh-5.1_p1-better-ssp-check.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/openssh-5.1_p1-better-ssp-check.patch?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/openssh-5.1_p1-better-ssp-check.patch?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/openssh-5.1_p1-better-ssp-check.patch?r1=1.3&r2=1.4

Index: openssh-5.1_p1-better-ssp-check.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/openssh/files/openssh-5.1_p1-better-ssp-check.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- openssh-5.1_p1-better-ssp-check.patch	20 Nov 2008 00:16:26 -0000	1.3
+++ openssh-5.1_p1-better-ssp-check.patch	13 Jan 2009 02:38:46 -0000	1.4
@@ -15,7 +15,7 @@
 -#include <stdlib.h>
 -int main(void){exit(0);}
 +#include <stdio.h>
-+int main(void){char foo[[1024]];return sprintf(foo, "moo cow");}
++int main(void){char foo[[1024]];return sprintf(foo, "moo cow") == 7;}
  			])],
  			[ AC_MSG_RESULT(yes)
  			  break ],