diff --git a/build/src/internal.h b/build/src/internal.h index 2eb7816b721c6301ef1b62d8ec605df5d57e41a3..11d117658b738b33f6ea7f0c95048e4de426d8b1 100644 --- a/build/src/internal.h +++ b/build/src/internal.h @@ -323,8 +323,6 @@ struct ssl_func { void (*ptr)(void); // Function pointer }; -static struct ssl_func ssl_sw[30]; - #define SSL_free (* (void (*)(SSL *)) ssl_sw[0].ptr) #define SSL_accept (* (int (*)(SSL *)) ssl_sw[1].ptr) #define SSL_connect (* (int (*)(SSL *)) ssl_sw[2].ptr) diff --git a/mongoose.c b/mongoose.c index 2cb3bf4bedbc0c85bb620308a0e60c21b4494dcb..a21ec570082ff3c7af2f6ac2b25a29888761799e 100644 --- a/mongoose.c +++ b/mongoose.c @@ -323,8 +323,6 @@ struct ssl_func { void (*ptr)(void); // Function pointer }; -static struct ssl_func ssl_sw[30]; - #define SSL_free (* (void (*)(SSL *)) ssl_sw[0].ptr) #define SSL_accept (* (int (*)(SSL *)) ssl_sw[1].ptr) #define SSL_connect (* (int (*)(SSL *)) ssl_sw[2].ptr)