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:
Robin Sommer 2016-08-01 08:27:08 -07:00
parent c3a43274e4
commit d7c10ca7c3
7 changed files with 21 additions and 9 deletions

View file

@ -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;