Commit 853d162b authored by Sergey Lyubka's avatar Sergey Lyubka

removed double def for ssl_sw

parent 762a68a0
...@@ -323,8 +323,6 @@ struct ssl_func { ...@@ -323,8 +323,6 @@ struct ssl_func {
void (*ptr)(void); // Function pointer void (*ptr)(void); // Function pointer
}; };
static struct ssl_func ssl_sw[30];
#define SSL_free (* (void (*)(SSL *)) ssl_sw[0].ptr) #define SSL_free (* (void (*)(SSL *)) ssl_sw[0].ptr)
#define SSL_accept (* (int (*)(SSL *)) ssl_sw[1].ptr) #define SSL_accept (* (int (*)(SSL *)) ssl_sw[1].ptr)
#define SSL_connect (* (int (*)(SSL *)) ssl_sw[2].ptr) #define SSL_connect (* (int (*)(SSL *)) ssl_sw[2].ptr)
......
...@@ -323,8 +323,6 @@ struct ssl_func { ...@@ -323,8 +323,6 @@ struct ssl_func {
void (*ptr)(void); // Function pointer void (*ptr)(void); // Function pointer
}; };
static struct ssl_func ssl_sw[30];
#define SSL_free (* (void (*)(SSL *)) ssl_sw[0].ptr) #define SSL_free (* (void (*)(SSL *)) ssl_sw[0].ptr)
#define SSL_accept (* (int (*)(SSL *)) ssl_sw[1].ptr) #define SSL_accept (* (int (*)(SSL *)) ssl_sw[1].ptr)
#define SSL_connect (* (int (*)(SSL *)) ssl_sw[2].ptr) #define SSL_connect (* (int (*)(SSL *)) ssl_sw[2].ptr)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment