Commit 7fcf4b17 authored by unknown's avatar unknown
Browse files

Bug#21930 libmysqlclient defines BN_bin2bn which belongs to OpenSSL! Breaks other apps!

 - Don't add the signatures for CRYPTO_* when compiling yaSSL for MySQL


extra/yassl/taocrypt/src/misc.cpp:
  No need to include the CRYPTO_* when compiling yaSSL for MySQL
parent 4d13d177
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@
#include "runtime.hpp"
#include "misc.hpp"


#if !defined(YASSL_MYSQL_COMPATIBLE)
extern "C" {

    // for libcurl configure test, these are the signatures they use
@@ -37,6 +37,7 @@ extern "C" {
    char CRYPTO_lock() { return 0;}
    char CRYPTO_add_lock() { return 0;}
}  // extern "C"
#endif

#ifdef YASSL_PURE_C