Bug #69080 mysql-5.5.31 not compatible with openssl-1.0.0 and lower
Submitted: 26 Apr 2013 7:47 Modified: 24 May 2013 11:50
Reporter: Honza Horak (OCA) Email Updates:
Status: Duplicate Impact on me:
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.5.31 OS:Any
Assigned to: CPU Architecture:Any

[26 Apr 2013 7:47] Honza Horak
In mysql-5.5.31 a new option SSL_OP_NO_COMPRESSION is set to SSL connection. openssl-0.9.8 doesn't know this options, so it cannot be used and build fails.

How to repeat:
Build mysql-5.5.31 with openssl-0.9.8

Suggested fix:
Adding a cmake check if SSL_OP_NO_COMPRESSION exists and use it only if it does.
[26 Apr 2013 7:48] Honza Horak
The mentioned option is used in mysql-5.5.31/vio/viossl.c:175
[26 Apr 2013 10:48] MySQL Verification Team
Thank you for the bug report, duplicate of http://bugs.mysql.com/bug.php?id=68999
[26 Apr 2013 10:52] Hartmut Holzgraefe
Why an extra configuration check? 

Wouldn't an extra 


in the source be sufficient?

Or wouldn't it even better to check for this only instead of the current "is not yaSSL" check?
[24 May 2013 11:50] Erlend Dahl
Duplicate of 

Bug#68999 SSL_OP_NO_COMPRESSION not defined
[8 Jun 2013 0:05] Noel Butler
5.5.32 also affected, the inline patch also fixes this issue.

Why oracle has failed to introduce it is beyond me.

please incorporate the patch for the next version.
[8 Jun 2013 0:09] Noel Butler
drats... the patch is in the linked duplicate bug...