Skip to content

Commit

Permalink
SCP11: Fix include headers for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
aveenismail committed Nov 28, 2024
1 parent 3714f9e commit f224187
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/aes_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,16 @@
#include "ykpiv.h"
#include "aes_util.h"

#ifdef _WIN32
#include <Winsock2.h>
#else
#include <arpa/inet.h>
#endif

#include <openssl/x509.h>
#if (OPENSSL_VERSION_NUMBER >= 0x30000000L)
#include <openssl/core_names.h>
#include <openssl/aes.h>
#include <arpa/inet.h>
#endif

//static void dump_byte_array(uint8_t *a, size_t len, const char* label) {
Expand Down

0 comments on commit f224187

Please sign in to comment.