mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Make OCSP analyzer part of the X.509 analyzer
This allows the easier integration of shared functionality. And it also makes logical sense, given that OCSP is not interesting without X.509.
This commit is contained in:
parent
dfc871f831
commit
c670613996
16 changed files with 13 additions and 47 deletions
|
@ -4,6 +4,7 @@
|
|||
#include "plugin/Plugin.h"
|
||||
|
||||
#include "X509.h"
|
||||
#include "OCSP.h"
|
||||
|
||||
namespace plugin {
|
||||
namespace Bro_X509 {
|
||||
|
@ -13,10 +14,11 @@ public:
|
|||
plugin::Configuration Configure()
|
||||
{
|
||||
AddComponent(new ::file_analysis::Component("X509", ::file_analysis::X509::Instantiate));
|
||||
AddComponent(new ::file_analysis::Component("OCSP", ::file_analysis::OCSP::Instantiate));
|
||||
|
||||
plugin::Configuration config;
|
||||
config.name = "Bro::X509";
|
||||
config.description = "X509 analyzer";
|
||||
config.description = "X509 and OCSP analyzer";
|
||||
return config;
|
||||
}
|
||||
} plugin;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue