• unknown's avatar
    Bug#19575 MySQL-shared-5.0.21-0.glibc23 causes segfault in SSL_library_init · e03f4785
    unknown authored
     - Include prefix files that renames all public functions in yaSSLs
       OpenSSL API to ya<function_name>. They will otherwise conflict
       with OpenSSL functions if loaded by an application that uses OpenSSL
       as well as libmysqlclient with yaSSL support.
    
    
    client/Makefile.am:
      Remove $yassl_includes
      ...and one "suspicious line"
    config/ac-macros/yassl.m4:
      Remove yassl_includes as they are the same as "normal" include
    extra/yassl/include/openssl/crypto.h:
      Add include file "prefix_crypto.h" to rename SSL_* functions to yaSSL_*
    extra/yassl/include/openssl/ssl.h:
      Add include file "prefix_crypto.h" to rename SSL_* functions to yaSSL_*
    libmysql/Makefile.am:
      Remove yassl_includes
    libmysql_r/Makefile.am:
      Remove yassl_includes
    libmysqld/Makefile.am:
      Remove yassl_includes
      And one suspicious line
    libmysqld/examples/Makefile.am:
      Remove yassl_includes
    server-tools/instance-manager/Makefile.am:
      Remove yassl_includes
    sql/Makefile.am:
      Remove yassl_includes
    tools/Makefile.am:
      Add link with yaSSL libs
    vio/Makefile.am:
      Remove yassl_includes
    extra/yassl/include/openssl/generate_prefix_files.pl:
      Add utility script to parse the header files to generate the prefix_* files that renames yaSSL SSL_* functions
    extra/yassl/include/openssl/prefix_crypto.h:
      Add prefix file for crypto.h
    extra/yassl/include/openssl/prefix_ssl.h:
      Add prefix file for ssl.h
    e03f4785
Makefile.am 1.88 KB