Skip to content

Commit

Permalink
Merge pull request #5332 from vpodzime/master-libntech_no_libcrypto_c…
Browse files Browse the repository at this point in the history
…ompat

Do not #include libcrypto-compat
  • Loading branch information
vpodzime authored Sep 26, 2023
2 parents 4632994 + bc4cf55 commit a3ade35
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion cf-key/cf-key-functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

#include <openssl/bn.h> /* BN_*, BIGNUM */
#include <openssl/rand.h> /* RAND_* */
#include <libcrypto-compat.h>

#include <lastseen.h>
#include <dir.h>
Expand Down
1 change: 0 additions & 1 deletion cf-serverd/server_classic.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

#include <openssl/bn.h> /* BN_* */
#include <openssl/err.h> /* ERR_get_error */
#include <libcrypto-compat.h>

#include <cf3.defs.h>
#include <item_lib.h> /* IsMatchItemIn */
Expand Down
1 change: 0 additions & 1 deletion libcfnet/client_code.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include <net.h> /* SendTransaction,ReceiveTransaction */
#include <openssl/err.h> /* ERR_get_error */
#include <protocol.h> /* ProtocolIsUndefined() */
#include <libcrypto-compat.h>
#include <tls_client.h> /* TLSTry */
#include <tls_generic.h> /* TLSVerifyPeer */
#include <dir.h>
Expand Down
2 changes: 1 addition & 1 deletion libcfnet/client_protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

#include <openssl/bn.h> /* BN_* */
#include <openssl/err.h> /* ERR_get_error */
#include <libcrypto-compat.h>
#include <openssl/rsa.h>

#include <communication.h>
#include <net.h>
Expand Down
2 changes: 1 addition & 1 deletion libntech
1 change: 0 additions & 1 deletion libpromises/crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <openssl/err.h> /* ERR_* */
#include <openssl/rand.h> /* RAND_* */
#include <openssl/bn.h> /* BN_* */
#include <libcrypto-compat.h>

#if OPENSSL_VERSION_NUMBER > 0x30000000
#include <openssl/provider.h> /* OSSL_PROVIDER_* */
Expand Down
1 change: 0 additions & 1 deletion libpromises/generic_agent.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
#include <signals.h>
#include <addr_lib.h>
#include <openssl/evp.h>
#include <libcrypto-compat.h>
#include <libgen.h>
#include <cleanup.h>
#include <cmdb.h> /* LoadCMDBData() */
Expand Down
1 change: 0 additions & 1 deletion libpromises/locks.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
#include <known_dirs.h>
#include <sysinfo.h>
#include <openssl/evp.h>
#include <libcrypto-compat.h>

#ifdef LMDB
// Be careful if you want to change this,
Expand Down

0 comments on commit a3ade35

Please sign in to comment.