From acd7ff5be794ff54293883819a540a27b6df4d49 Mon Sep 17 00:00:00 2001 From: stephanie sappho lenzo Date: Thu, 4 Jan 2024 04:39:43 -0500 Subject: fully deprecate old functions and add warnings squash for fopen/sprintf --- extension/opensslthread.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'extension/opensslthread.cpp') 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) -- cgit v1.2.3