Hi, when I configure openssl-1.0.1d as follows:

./Configure zlib shared linux-x86_64

make test_ssl fails with the following errors

<snip>
TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
1 handshakes of 256 bytes done
dh
test tls1 with 1024bit anonymous DH, multiple handshakes
Available compression methods:
  1: zlib compression
ERROR in SERVER
140133790832296:error:1408F06B:SSL routines:SSL3_GET_RECORD:bad 
decompression:s3_pkt.c:498:
ERROR in SERVER
140133790832296:error:140A4044:SSL routines:SSL_clear:internal 
error:ssl_lib.c:212:
140133790832296:error:1408E0F4:SSL routines:SSL3_GET_MESSAGE:unexpected 
message:s3_both.c:485:
ERROR in SERVER
140133790832296:error:140A4044:SSL routines:SSL_clear:internal 
error:ssl_lib.c:212:
140133790832296:error:1408E0F4:SSL routines:SSL3_GET_MESSAGE:unexpected 
message:s3_both.c:485:
ERROR in SERVER
140133790832296:error:140A4044:SSL routines:SSL_clear:internal 
error:ssl_lib.c:212:
140133790832296:error:1408E0F4:SSL routines:SSL3_GET_MESSAGE:unexpected 
message:s3_both.c:485:
ERROR in SERVER
140133790832296:error:140A4044:SSL routines:SSL_clear:internal 
error:ssl_lib.c:212:
140133790832296:error:1408E0F4:SSL routines:SSL3_GET_MESSAGE:unexpected 
message:s3_both.c:485:
ERROR in SERVER
140133790832296:error:140A4044:SSL routines:SSL_clear:internal 
error:ssl_lib.c:212:
140133790832296:error:1408E0F4:SSL routines:SSL3_GET_MESSAGE:unexpected 
message:s3_both.c:485:
ERROR in SERVER
140133790832296:error:140A4044:SSL routines:SSL_clear:internal 
error:ssl_lib.c:212:
140133790832296:error:1408E0F4:SSL routines:SSL3_GET_MESSAGE:unexpected 
message:s3_both.c:485:
ERROR in SERVER
140133790832296:error:140A4044:SSL routines:SSL_clear:internal 
error:ssl_lib.c:212:
ERROR in SERVER
140133790832296:error:140A4044:SSL routines:SSL_clear:internal 
error:ssl_lib.c:212:
ERROR in SERVER
140133790832296:error:140A4044:SSL routines:SSL_clear:internal 
error:ssl_lib.c:212:
10 handshakes of 256 bytes done

The tests pass when I omit the zlib parameter to Configure.  I know better than 
to use compression but the library happened to be configured this way and it 
appears to be a regression.

System details

Linux 2.6.32-279.19.1.el6.x86_64 #1 SMP Wed Dec 19 07:05:20 UTC 2012 x86_64 
x86_64 x86_64 GNU/Linux
gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)
zlib-devel 1.2.3

Please let me know if I've made an error or you need more details.

Thanks

-Alan Frindell

Reply via email to