diff options
author | unknown <msvensson@shellback.(none)> | 2006-05-05 10:33:04 +0200 |
---|---|---|
committer | unknown <msvensson@shellback.(none)> | 2006-05-05 10:33:04 +0200 |
commit | 30c4210d708b8729597cb5913519aa1aa3436920 (patch) | |
tree | 46ae81e9fcf8418562ef08c3d8c0f66ce2a7dcbe /extra/yassl/include | |
parent | 54feed92b58ad5783952eb12975433e21976159c (diff) | |
download | mariadb-git-30c4210d708b8729597cb5913519aa1aa3436920.tar.gz |
Import from yaSSL
extra/yassl/examples/client/client.cpp:
Import patch yassl.diff
extra/yassl/examples/echoclient/echoclient.cpp:
Import patch yassl.diff
extra/yassl/examples/echoserver/echoserver.cpp:
Import patch yassl.diff
extra/yassl/examples/server/server.cpp:
Import patch yassl.diff
extra/yassl/include/openssl/ssl.h:
Import patch yassl.diff
extra/yassl/include/yassl_types.hpp:
Import patch yassl.diff
extra/yassl/src/make.bat:
Import patch yassl.diff
extra/yassl/src/ssl.cpp:
Import patch yassl.diff
extra/yassl/src/yassl_imp.cpp:
Import patch yassl.diff
extra/yassl/src/yassl_int.cpp:
Import patch yassl.diff
extra/yassl/taocrypt/benchmark/make.bat:
Import patch yassl.diff
extra/yassl/taocrypt/src/make.bat:
Import patch yassl.diff
extra/yassl/taocrypt/test/make.bat:
Import patch yassl.diff
extra/yassl/testsuite/make.bat:
Import patch yassl.diff
extra/yassl/testsuite/testsuite.cpp:
Import patch yassl.diff
Diffstat (limited to 'extra/yassl/include')
-rw-r--r-- | extra/yassl/include/openssl/ssl.h | 6 | ||||
-rw-r--r-- | extra/yassl/include/yassl_types.hpp | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/extra/yassl/include/openssl/ssl.h b/extra/yassl/include/openssl/ssl.h index 03a0cfad15b..08075a8df5b 100644 --- a/extra/yassl/include/openssl/ssl.h +++ b/extra/yassl/include/openssl/ssl.h @@ -32,6 +32,12 @@ #include "opensslv.h" /* for version number */ #include "rsa.h" + +extern "C" 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) && !defined(YASSL_MYSQL_COMPATIBLE) namespace yaSSL { extern "C" { diff --git a/extra/yassl/include/yassl_types.hpp b/extra/yassl/include/yassl_types.hpp index bfb6467182b..76c807cd05f 100644 --- a/extra/yassl/include/yassl_types.hpp +++ b/extra/yassl/include/yassl_types.hpp @@ -35,10 +35,6 @@ namespace yaSSL { -// Delete static singleton memory holders -void CleanUp(); - - #ifdef YASSL_PURE_C // library allocation |