From: "Alexey I. Froloff" <raorn@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] ruby-1.9.2-alt1.r29034.1: Sisyphus/i586 test rebuild failed
Date: Sat, 16 Oct 2010 14:40:12 +0400
Message-ID: <20101016104011.GC29582@altlinux.org> (raw)
In-Reply-To: <20101012100945.GA16233@altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 862 bytes --]
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
> Как это лечить?
Сам же и отвечу:
* 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 <= 0.9.8 treats value 0x100 as 'false'
but OpenSSL >= 1.0.0 treats it as 'true'. ruby-ossl was using
0x100 for 'false' for backward compatibility. Just use 0x0 for
the case OpenSSL >= OpenSSL 0.9.7.
--
Regards, --
Sir Raorn. --- http://thousandsofhate.blogspot.com/
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
prev parent reply other threads:[~2010-10-16 10:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-12 10:09 ` Alexey I. Froloff
2010-10-12 12:16 ` Dmitry V. Levin
2010-10-12 12:27 ` Alexey I. Froloff
2010-10-12 22:34 ` Dmitry V. Levin
2010-10-13 18:45 ` Alexey I. Froloff
2010-10-16 10:40 ` Alexey I. Froloff [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101016104011.GC29582@altlinux.org \
--to=raorn@altlinux.org \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git