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

@ -14,6 +14,7 @@
#include <openssl/x509v3.h>
#include <openssl/asn1.h>
#include <openssl/opensslconf.h>
#include <openssl/err.h>
using namespace file_analysis;

View file

@ -6,6 +6,8 @@
#include <openssl/asn1.h>
#include <openssl/x509_vfy.h>
#include <openssl/ocsp.h>
#include <openssl/pem.h>
#include <openssl/err.h>
// This is the indexed map of X509 certificate stores.
static map<Val*, X509_STORE*> x509_stores;