mirror of
https://github.com/MariaDB/server.git
synced 2026-04-20 23:35:32 +02:00
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
This commit is contained in:
parent
4d13d1775d
commit
7fcf4b17d0
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue