mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
Changes to make OpenSSL a requirement.
Preprocessor conditionals dependent on definition of USE_OPENSSL have been straightened out.
This commit is contained in:
parent
efc8b24576
commit
2bd8f42c15
16 changed files with 81 additions and 161 deletions
|
@ -7,6 +7,7 @@
|
|||
#include <sys/time.h>
|
||||
#include <netinet/in.h>
|
||||
#include <assert.h>
|
||||
#include <openssl/ssl.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "ChunkedIO.h"
|
||||
|
@ -650,11 +651,6 @@ void ChunkedIOFd::Stats(char* buffer, int length)
|
|||
ChunkedIO::Stats(buffer + i, length - i);
|
||||
}
|
||||
|
||||
|
||||
#ifdef USE_OPENSSL
|
||||
|
||||
#include <openssl/ssl.h>
|
||||
|
||||
SSL_CTX* ChunkedIOSSL::ctx;
|
||||
|
||||
ChunkedIOSSL::ChunkedIOSSL(int arg_socket, bool arg_server)
|
||||
|
@ -1174,8 +1170,6 @@ void ChunkedIOSSL::Stats(char* buffer, int length)
|
|||
ChunkedIO::Stats(buffer + i, length - i);
|
||||
}
|
||||
|
||||
#endif /* USE_OPENSSL */
|
||||
|
||||
#ifdef HAVE_LIBZ
|
||||
|
||||
bool CompressedChunkedIO::Init()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue