public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-misc/openssh/files: openssh-5.9_p1-drop-openssl-check.patch
@ 2012-03-15  3:06 Mike Frysinger (vapier)
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2012-03-15  3:06 UTC (permalink / raw
  To: gentoo-commits

vapier      12/03/15 03:06:21

  Added:                openssh-5.9_p1-drop-openssl-check.patch
  Log:
  Drop openssl version checking.
  
  (Portage version: 2.2.0_alpha90/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  net-misc/openssh/files/openssh-5.9_p1-drop-openssl-check.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/openssh/files/openssh-5.9_p1-drop-openssl-check.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/openssh/files/openssh-5.9_p1-drop-openssl-check.patch?rev=1.1&content-type=text/plain

Index: openssh-5.9_p1-drop-openssl-check.patch
===================================================================
newer versions of openssl have started to be compatible across minor versions
too, so this sanity check fails.  since we already handle compatibility with
openssl via SONAME checks, we don't need this openssh check at all.

http://marc.info/?l=openssl-dev&m=133176786215023&w=2

--- a/entropy.c
+++ b/entropy.c
@@ -208,16 +208,7 @@ seed_rng(void)
 {
 #ifndef OPENSSL_PRNG_ONLY
 	unsigned char buf[RANDOM_SEED_SIZE];
-#endif
-	/*
-	 * OpenSSL version numbers: MNNFFPPS: major minor fix patch status
-	 * We match major, minor, fix and status (not patch)
-	 */
-	if ((SSLeay() ^ OPENSSL_VERSION_NUMBER) & ~0xff0L)
-		fatal("OpenSSL version mismatch. Built against %lx, you "
-		    "have %lx", (u_long)OPENSSL_VERSION_NUMBER, SSLeay());
 
-#ifndef OPENSSL_PRNG_ONLY
 	if (RAND_status() == 1) {
 		debug3("RNG is ready, skipping seeding");
 		return;






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-15  3:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-15  3:06 [gentoo-commits] gentoo-x86 commit in net-misc/openssh/files: openssh-5.9_p1-drop-openssl-check.patch Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox