mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
Import from yaSSL
extra/yassl/include/openssl/ssl.h: Import patch yassl.diff extra/yassl/testsuite/test.hpp: Import patch yassl.diff
This commit is contained in:
parent
30c4210d70
commit
c3398d13de
2 changed files with 9 additions and 2 deletions
|
@ -32,12 +32,19 @@
|
|||
#include "opensslv.h" /* for version number */
|
||||
#include "rsa.h"
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern "C" void yaSSL_CleanUp(); /* call once at end of application use to
|
||||
void yaSSL_CleanUp(); /* call once at end of application use to
|
||||
free static singleton memory holders,
|
||||
not a leak per se, but helpful when
|
||||
looking for them */
|
||||
|
||||
#if defined(__cplusplus)
|
||||
} // extern
|
||||
#endif
|
||||
|
||||
#if defined(__cplusplus) && !defined(YASSL_MYSQL_COMPATIBLE)
|
||||
namespace yaSSL {
|
||||
extern "C" {
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#endif /* _WIN32 */
|
||||
|
||||
|
||||
#if defined(__MACH__) || defined(_WIN32)
|
||||
#if !defined(_SOCKLEN_T) && (defined(__MACH__) || defined(_WIN32))
|
||||
typedef int socklen_t;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue