Re: [openssl.org #2635] 1/n-1 record splitting technique for CVE-2011-3389

2012-04-16 Thread Tomas Mraz via RT
On Sun, 2012-04-15 at 16:45 +0200, Andy Polyakov via RT wrote: Here is an experimental patch I wrote that implements the 1/n-1 record splitting technique for OpenSSL. I am sending it here for consideration by OpenSSL upstream developers. By default the 0/n split is used but in case the

Re: [openssl.org #2635] 1/n-1 record splitting technique for CVE-2011-3389

2012-04-16 Thread Andy Polyakov via RT
Here is an experimental patch I wrote that implements the 1/n-1 record splitting technique for OpenSSL. I am sending it here for consideration by OpenSSL upstream developers. By default the 0/n split is used but in case the SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS flag is set, we split the first

Re: [openssl.org #2635] 1/n-1 record splitting technique for CVE-2011-3389

2012-04-16 Thread Tomas Mraz via RT
On Mon, 2012-04-16 at 11:49 +0200, Andy Polyakov via RT wrote: Here is an experimental patch I wrote that implements the 1/n-1 record splitting technique for OpenSSL. I am sending it here for consideration by OpenSSL upstream developers. By default the 0/n split is used but in case the

Re: [openssl.org #2790] [PATCH] Better compatibility with C++ compilers and MSDEV memory debugger

2012-04-16 Thread Alexei Khlebnikov
On Fri, 13 Apr 2012 17:02:07 +0200, Andy Polyakov via RT r...@openssl.org wrote: 2) Structure x509_lookup_method_st aka X509_LOOKUP_METHOD has a member called free. It conflicts with MS Visual Studio memory debugger. When memory debugger is enabled, it defines the following: #define

Re: [openssl.org #2790] [PATCH] Better compatibility with C++ compilers and MSDEV memory debugger

2012-04-16 Thread Alexei Khlebnikov via RT
On Fri, 13 Apr 2012 17:02:07 +0200, Andy Polyakov via RT r...@openssl.org wrote: 2) Structure x509_lookup_method_st aka X509_LOOKUP_METHOD has a member called free. It conflicts with MS Visual Studio memory debugger. When memory debugger is enabled, it defines the following: #define

Hi

2012-04-16 Thread Tom Xian
you should definitely give this a look http://www.panews15.net/biz/?employment=5423043 __ OpenSSL Project http://www.openssl.org Development Mailing List

ENGINE reference leak using FIPS-capable OpenSSL

2012-04-16 Thread Erik Tkal
I've been investigating a memory leak in using a FIPS-capable OpenSSL in non-FIPS mode. For example, the following code does not seem to be correct in evp_enc.c: int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, ... #ifndef OPENSSL_NO_ENGINE

Re: [openssl.org #2790] [PATCH] Better compatibility with C++ compilers and MSDEV memory debugger

2012-04-16 Thread Alexei Khlebnikov
On Mon, 16 Apr 2012 12:31:05 +0200, Alexei Khlebnikov via RT r...@openssl.org wrote: ... but I've made a simple testing patch (attached) ... Forgot to attach the testing patch! Attaching now. -- Alexei. redefined-free-testing.2012-04-16.patch Description: Binary data

Re: [openssl.org #2790] [PATCH] Better compatibility with C++ compilers and MSDEV memory debugger

2012-04-16 Thread Alexei Khlebnikov via RT
On Mon, 16 Apr 2012 12:31:05 +0200, Alexei Khlebnikov via RT r...@openssl.org wrote: ... but I've made a simple testing patch (attached) ... Forgot to attach the testing patch! Attaching now. -- Alexei. redefined-free-testing.2012-04-16.patch Description: Binary data

Re: FIPS Module 1.2 build with Visual Studio 2010 fails self-tests

2012-04-16 Thread Vimol Kshetrimayum
It is still not working for me. I had tried all possible place to add /dynamicbase:NO and/or /fixed flag. I am wondering how it was working for Grant Averett. Where did you exactly add the /FIXED flag? Thanks, -Vimol On Sun, Apr 15, 2012 at 6:51 PM, Dr. Stephen Henson st...@openssl.orgwrote:

Re: FIPS Module 1.2 build with Visual Studio 2010 fails self-tests

2012-04-16 Thread Andy Polyakov
It is still not working for me. I had tried all possible place to add /dynamicbase:NO and/or /fixed flag. Well, lack of dynamic base in DLL characteristics in dumpbin output is sufficient for knowing that /dynamicbase:no went down. As for /fixed, double-check if it has .reloc segment left.

Re: FIPS Module 1.2 build with Visual Studio 2010 fails self-tests

2012-04-16 Thread Dr. Stephen Henson
On Mon, Apr 16, 2012, Vimol Kshetrimayum wrote: It is still not working for me. I had tried all possible place to add /dynamicbase:NO and/or /fixed flag. I am wondering how it was working for Grant Averett. Where did you exactly add the /FIXED flag? That's weird. I can reproduce that

Re: [openssl.org #2790] [PATCH] Better compatibility with C++ compilers and MSDEV memory debugger

2012-04-16 Thread Andy Polyakov via RT
http://cvs.openssl.org/chngview?cn=22397 __ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager

Re: [openssl.org #2791] [PATCH] fix -DOPENSSL_NO_SOCK on sunos

2012-04-16 Thread Andy Polyakov via RT
Hi, This patch compiles out BIO_socket_nbio() and the body of BIO_new_ssl_connect() if OPENSSL_NO_SOCK is set. * BIO_socket_nbio() looks like its author forgot to put it in the #ifndef block. * BIO_new_ssl_connect() calls BIO_s_connect() which is compiled out by OPENSSL_NO_SOCK. It

Re: [openssl.org #2635] 1/n-1 record splitting technique for CVE-2011-3389

2012-04-16 Thread Kurt Roeckx via RT
On Mon, Oct 31, 2011 at 05:56:53PM +0100, Tomas Mraz via RT wrote: By default the 0/n split is used but in case the SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS flag is set, we split the first record with 1/n-1. There are terminators that also have a problem with this 1/n-1 splitting. You might want to

Re: [openssl.org #2771] [BUG] Openssl 1.0.1 times out when connecting to Outlook Exchange 2007

2012-04-16 Thread Kurt Roeckx
On Sun, Apr 01, 2012 at 02:42:20PM +0200, Dr. Stephen Henson wrote: On Sun, Apr 01, 2012, Dr. Stephen Henson wrote: Did a quick hack modification setting header version to 0x3,0x0 and it now *will* connect to some sites it didn't before with a long client hello including paypal. It

FIPS 2 mode with shared libs : Clarification needed .....

2012-04-16 Thread Simon Convey
Dear all, ( On a Linux 2.6.32 x86_64 ) I'm trying to build a FIPS 2 openssl When I configure the fips code, config spits out as warning #cd openssl-fips-2.0-test-20120416 #./config Configured for linux-x86_64. WARNING: OpenSSL has been configured using unsupported option