Skip to content

Commit

Permalink
Fix OpenSSL includes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Barenboim committed Jul 5, 2024
1 parent e053e92 commit 7a1d418
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/factory/HttpTaskImpl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@
#include <stdio.h>
#include <string.h>
#include <string>
#include <openssl/bio.h>
#include <openssl/ssl.h>
#include <openssl/bio.h>
#include <openssl/evp.h>
#include "WFTaskError.h"
#include "WFTaskFactory.h"
#include "StringUtil.h"
Expand Down
12 changes: 7 additions & 5 deletions src/manager/WFGlobal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@
Xie Han ([email protected])
*/

#include <openssl/ssl.h>
#include <openssl/err.h>
#include <openssl/engine.h>
#include <openssl/conf.h>
#include <openssl/crypto.h>
#include <signal.h>
#include <string.h>
#include <thread>
Expand All @@ -32,6 +27,13 @@
#include <mutex>
#include <condition_variable>
#include <fstream>
#include <openssl/ssl.h>
#if OPENSSL_VERSION_NUMBER < 0x10100000L
# include <openssl/err.h>
# include <openssl/engine.h>
# include <openssl/conf.h>
# include <openssl/crypto.h>
#endif
#include "WFGlobal.h"
#include "EndpointParams.h"
#include "CommScheduler.h"
Expand Down

0 comments on commit 7a1d418

Please sign in to comment.