Skip to content

Commit

Permalink
win32 path_max fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoby committed Dec 23, 2024
1 parent 578f078 commit 3d09519
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/openssl/engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@

#if _WIN32
#include <windows.h>
#include <wincrypt.h>
#pragma comment (lib, "crypt32.lib")
#ifndef PATH_MAX
#define PATH_MAX MAX_PATH
#endif
Expand Down Expand Up @@ -1116,6 +1114,8 @@ goto on_error; \
}

#if _WIN32
#include <wincrypt.h>
#pragma comment (lib, "crypt32.lib")

static X509_STORE *load_system_certs() {
X509_STORE *store = X509_STORE_new();
Expand Down

0 comments on commit 3d09519

Please sign in to comment.