• V S Murthy Sidagam's avatar
    Bug #16861371 SSL_OP_NO_COMPRESSION NOT DEFINED · e7ad7f05
    V S Murthy Sidagam authored
    Description:
    Can't build mysql-5.5 latest source with openssl 0.9.8e.
    
    Analysis:
    Older OpenSSL versions(prior to openssl 1.0) doesn't have 'SSL_OP_NO_COMPRESSION' defined.
    Hence the build is failing with SSL_OP_NO_COMPRESSION undeclared.
    
    Fix:
    Added a conditonal compilation for 'SSL_OP_NO_COMPRESSION'.
    i.e if 'SSL_OP_NO_COMPRESSION' is defined then have the SSL_set_options call for OpenSSL 1.0 versions.
    Have sk_SSL_COMP_zero() call for OpenSSL 0.9.8 version
    e7ad7f05
viossl.c 7.5 KB