mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +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
10
src/File.h
10
src/File.h
|
@ -11,11 +11,11 @@
|
|||
# ifdef NEED_KRB5_H
|
||||
# include <krb5.h>
|
||||
# endif // NEED_KRB5_H
|
||||
extern "C" {
|
||||
# include "openssl/evp.h"
|
||||
# include "openssl/pem.h"
|
||||
# include "openssl/err.h"
|
||||
}
|
||||
|
||||
// From OpenSSL. We forward-declare these here to avoid introducing a
|
||||
// dependency on OpenSSL headers just for this header file.
|
||||
typedef struct evp_pkey_st EVP_PKEY;
|
||||
typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
|
||||
|
||||
class BroType;
|
||||
class RotateTimer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue