mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00
Removing OpenSSL dependency for plugins.
Compiling a plugin required having access to OpenSSL headers because
they were pulled in by Bro headers that the plugin had to include.
Removinng then OpenSSL dependency from those Bro headers.
I'm also reverting a4e5591e
. This is a different fix for the same
problem, and reverting that commit gives us a test case. :-)
This commit is contained in:
parent
c3a43274e4
commit
d7c10ca7c3
7 changed files with 21 additions and 9 deletions
|
@ -14,9 +14,6 @@
|
|||
# include <krb5.h>
|
||||
#endif
|
||||
|
||||
#include <openssl/ssl.h>
|
||||
#include <openssl/err.h>
|
||||
|
||||
class CompressedChunkedIO;
|
||||
|
||||
// #define DEBUG_COMMUNICATION 10
|
||||
|
@ -244,6 +241,11 @@ private:
|
|||
bro::Flare read_flare;
|
||||
};
|
||||
|
||||
// From OpenSSL. We forward-declare these here to avoid introducing a
|
||||
// dependency on OpenSSL headers just for this header file.
|
||||
typedef struct ssl_ctx_st SSL_CTX;
|
||||
typedef struct ssl_st SSL;
|
||||
|
||||
// Chunked I/O using an SSL connection.
|
||||
class ChunkedIOSSL : public ChunkedIO {
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue