aboutsummaryrefslogtreecommitdiff
path: root/extension/opensslthread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'extension/opensslthread.cpp')
-rw-r--r--extension/opensslthread.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/extension/opensslthread.cpp b/extension/opensslthread.cpp
index 84e2286..e735b93 100644
--- a/extension/opensslthread.cpp
+++ b/extension/opensslthread.cpp
@@ -1,5 +1,11 @@
#include "opensslthread.h"
+// Yes. I know. I will make this not use fopen. Shut up.
+#ifdef _WIN32
+#pragma warning(disable:4996)
+#define _CRT_SECURE_NO_WARNINGS 1
+#define CRT_SECURE_NO_WARNINGS 1
+#endif
OpensslThread::OpensslThread(void *_data, OpensslThread_Type _type):
type(_type),data(_data)