summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.blaudden>2007-03-28 15:34:52 +0200
committerunknown <msvensson@pilot.blaudden>2007-03-28 15:34:52 +0200
commitff7db598a270ba3342ec0f2fc290e43003699241 (patch)
treeb13e2d20a3576dc87b2c4970c8e1c8cba6d6f40f /include
parent230a116ed201ace7d9b4b703cfc2b65d9076cf36 (diff)
downloadmariadb-git-ff7db598a270ba3342ec0f2fc290e43003699241.tar.gz
Set yaSSL to use same type as MySQL do for socket handles
extra/yassl/include/openssl/ssl.h: Import patch yassl.diff extra/yassl/src/ssl.cpp: Import patch yassl.diff
Diffstat (limited to 'include')
-rw-r--r--include/violite.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/violite.h b/include/violite.h
index 4122e581a0f..63388c170c9 100644
--- a/include/violite.h
+++ b/include/violite.h
@@ -102,6 +102,9 @@ void vio_timeout(Vio *vio,uint which, uint timeout);
#define HEADER_DES_LOCL_H dummy_something
#define YASSL_MYSQL_COMPATIBLE
#define YASSL_PREFIX
+/* Set yaSSL to use same type as MySQL do for socket handles */
+typedef my_socket YASSL_SOCKET_T;
+#define YASSL_SOCKET_T_DEFINED
#include <openssl/ssl.h>
#include <openssl/err.h>