Commit 7fcf4b17 authored by unknown's avatar unknown

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
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment