diff options
author | msvensson@shellback.(none) <> | 2006-05-05 10:33:04 +0200 |
---|---|---|
committer | msvensson@shellback.(none) <> | 2006-05-05 10:33:04 +0200 |
commit | 01faaacd2502419e3c7e15f15d2444af22f312da (patch) | |
tree | 46ae81e9fcf8418562ef08c3d8c0f66ce2a7dcbe /extra/yassl/examples | |
parent | bb5c6d43827200dc27ba8bde0e0945c635beb52f (diff) | |
download | mariadb-git-01faaacd2502419e3c7e15f15d2444af22f312da.tar.gz |
Import from yaSSL
Diffstat (limited to 'extra/yassl/examples')
-rw-r--r-- | extra/yassl/examples/client/client.cpp | 2 | ||||
-rw-r--r-- | extra/yassl/examples/echoclient/echoclient.cpp | 1 | ||||
-rw-r--r-- | extra/yassl/examples/echoserver/echoserver.cpp | 2 | ||||
-rw-r--r-- | extra/yassl/examples/server/server.cpp | 2 |
4 files changed, 7 insertions, 0 deletions
diff --git a/extra/yassl/examples/client/client.cpp b/extra/yassl/examples/client/client.cpp index 3acd091baad..94bf753210b 100644 --- a/extra/yassl/examples/client/client.cpp +++ b/extra/yassl/examples/client/client.cpp @@ -89,6 +89,8 @@ void client_test(void* args) args.argv = argv; client_test(&args); + yaSSL_CleanUp(); + return args.return_code; } diff --git a/extra/yassl/examples/echoclient/echoclient.cpp b/extra/yassl/examples/echoclient/echoclient.cpp index ca557cca8af..fd3f7dd48a3 100644 --- a/extra/yassl/examples/echoclient/echoclient.cpp +++ b/extra/yassl/examples/echoclient/echoclient.cpp @@ -82,6 +82,7 @@ void echoclient_test(void* args) args.argv = argv; echoclient_test(&args); + yaSSL_CleanUp(); return args.return_code; } diff --git a/extra/yassl/examples/echoserver/echoserver.cpp b/extra/yassl/examples/echoserver/echoserver.cpp index 14a37a7e175..3243cc21a7c 100644 --- a/extra/yassl/examples/echoserver/echoserver.cpp +++ b/extra/yassl/examples/echoserver/echoserver.cpp @@ -15,6 +15,8 @@ args.argv = argv; echoserver_test(&args); + yaSSL_CleanUp(); + return args.return_code; } diff --git a/extra/yassl/examples/server/server.cpp b/extra/yassl/examples/server/server.cpp index 4d3f121cf2c..73cff19e371 100644 --- a/extra/yassl/examples/server/server.cpp +++ b/extra/yassl/examples/server/server.cpp @@ -67,6 +67,8 @@ THREAD_RETURN YASSL_API server_test(void* args) args.argv = argv; server_test(&args); + yaSSL_CleanUp(); + return args.return_code; } |