From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 16 Oct 2010 14:40:12 +0400 From: "Alexey I. Froloff" To: ALT Devel discussion list Message-ID: <20101016104011.GC29582@altlinux.org> References: <20101004034618.54BE823CA0F5@ssh.git.altlinux.org> <20101002193402.D6EB623CA0F5@ssh.git.altlinux.org> <20101012100945.GA16233@altlinux.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+xNpyl7Qekk2NvDX" Content-Disposition: inline In-Reply-To: <20101012100945.GA16233@altlinux.org> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [devel] ruby-1.9.2-alt1.r29034.1: Sisyphus/i586 test rebuild failed X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Oct 2010 10:40:14 -0000 Archived-At: List-Archive: List-Post: --+xNpyl7Qekk2NvDX Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 12, 2010 at 02:09:45PM +0400, Alexey I. Froloff wrote: > > 1) Error: > > test_client_auth(OpenSSL::TestSSL): > > OpenSSL::SSL::SSLError: SSL_read:: sslv3 alert bad record mac > > 1) Error: > > test_eof_0(OpenSSL::TestEOF2): > > OpenSSL::SSL::SSLError: SSL_read:: internal error > =EB=C1=CB =DC=D4=CF =CC=C5=DE=C9=D4=D8? =F3=C1=CD =D6=C5 =C9 =CF=D4=D7=C5=DE=D5: * ext/openssl/ossl_asn1.c (obj_to_asn1bool): fixed ASN1::Boolean encoding issue for OpenSSL 1.0.0 compatibility. ASN1::Boolean.new(false).to_der wrongly generated "\1\1\377" which means 'true'. ASN1_TYPE_set of OpenSSL <=3D 0.9.8 treats value 0x100 as 'false' but OpenSSL >=3D 1.0.0 treats it as 'true'. ruby-ossl was using 0x100 for 'false' for backward compatibility. Just use 0x0 for the case OpenSSL >=3D OpenSSL 0.9.7. --=20 Regards, -- Sir Raorn. --- http://thousandsofhate.blogspot.com/ --+xNpyl7Qekk2NvDX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAky5gQsACgkQVqT7+fkT8wp2/ACeMKGCCBfrEW8d3SUsbjyt6R+9 iGkAn1AIvc5Kiw0gTzmNOUCv9hqtNWGA =zfFr -----END PGP SIGNATURE----- --+xNpyl7Qekk2NvDX--