vio/viossl.c fails to compile with OpenSSL 0.9.8
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Server |
Unknown
|
Unknown
|
|||
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
Critical
|
Ignacio Nin | ||
5.1 |
Fix Released
|
Critical
|
Ignacio Nin | ||
5.5 |
Fix Released
|
Critical
|
Ignacio Nin | ||
5.6 |
Fix Released
|
Critical
|
Ignacio Nin |
Bug Description
Trying to compile in a system with OpenSSL 0.9.8 (CentOS 5, debian squeeze) with -DWITH_SSL=system using OpenSSL fails in vio/viossl.c with the following error:
[ 68%] Building C object vio/CMakeFiles/
/dev/shm/
/dev/shm/
SL_OP_NO_
/dev/shm/
/dev/shm/
make[2]: *** [vio/CMakeFiles
make[1]: *** [vio/CMakeFiles
make: *** [all] Error 2
vio/viossl.c uses the following construct (line 174)
#ifndef HAVE_YASSL
SSL_set_
#endif
SSL_OP_
The fix for this would be to avoid using SSL_OP_
This change was introduced in revno 517 of Percona Server 5.5 (exactly revno 0.16782.113) so it's for now impossible to base its fix in a GCA with 5.6.
Related branches
- Laurynas Biveinis (community): Approve
-
Diff: 11 lines (+1/-1)1 file modifiedPercona-Server/vio/viossl.c (+1/-1)
- Laurynas Biveinis (community): Approve
-
Diff: 11 lines (+1/-1)1 file modifiedPercona-Server/vio/viossl.c (+1/-1)
- Laurynas Biveinis (community): Approve
-
Diff: 11 lines (+1/-1)1 file modifiedPercona-Server/vio/viossl.c (+1/-1)
Changed in percona-server: | |
importance: | Undecided → Critical |
milestone: | none → 5.5.31-30.4 |
status: | In Progress → Invalid |
importance: | Critical → Undecided |
milestone: | 5.5.31-30.4 → none |
tags: | added: upstream |
Confirmed for 5.6 by code reading.