aboutsummaryrefslogtreecommitdiff
path: root/extension/opensslthread.cpp
diff options
context:
space:
mode:
authorstephanie sappho lenzo <sappho@sappho.io>2024-01-04 04:39:43 -0500
committerstephanie sappho lenzo <sappho@sappho.io>2024-01-04 04:39:43 -0500
commitacd7ff5be794ff54293883819a540a27b6df4d49 (patch)
tree5494d654a0772fd553befdf06e820aaa6efb0d4e /extension/opensslthread.cpp
parent3b81c9e0446410d0577f10f87bf0cb27210f918b (diff)
fully deprecate old functions and add warnings squash for fopen/sprintf
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)