Skip to content

Commit

Permalink
src: fixup includes after x509 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell committed Aug 7, 2024
1 parent 907c7a8 commit 19a28e2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
12 changes: 6 additions & 6 deletions deps/ncrypto/ncrypto.cc
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#include "ncrypto.h"
#include <algorithm>
#include <cstring>
#include "openssl/bn.h"
#include "openssl/evp.h"
#include "openssl/pkcs12.h"
#include "openssl/types.h"
#include "openssl/x509v3.h"
#include <openssl/bn.h>
#include <openssl/evp.h>
#include <openssl/pkcs12.h>
#include <openssl/types.h>
#include <openssl/x509v3.h>
#if OPENSSL_VERSION_MAJOR >= 3
#include "openssl/provider.h"
#include <openssl/provider.h>
#endif

namespace ncrypto {
Expand Down
4 changes: 2 additions & 2 deletions deps/ncrypto/ncrypto.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#include <optional>
#include <string>
#include <string_view>
#include "openssl/bn.h"
#include "openssl/types.h"
#include <openssl/bn.h>
#include <openssl/types.h>
#include <openssl/x509.h>
#include <openssl/dh.h>
#include <openssl/dsa.h>
Expand Down
3 changes: 0 additions & 3 deletions src/crypto/crypto_x509.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
#include "ncrypto.h"
#include "node_errors.h"
#include "util-inl.h"
#include "v8-function-callback.h"
#include "v8-function.h"
#include "v8-primitive.h"
#include "v8.h"

#include <string>
Expand Down

0 comments on commit 19a28e2

Please sign in to comment.