mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 23:28:20 +00:00
SSL SCT/OCSP: small fixes by robin; mostly update comments.
SetMime now only works on the first call (as it was documented) and unused code was used from one of the x.509 functions.
This commit is contained in:
parent
db15773c09
commit
d5678418da
7 changed files with 23 additions and 11 deletions
|
@ -294,7 +294,7 @@ void File::SetReassemblyBuffer(uint64 max)
|
|||
|
||||
bool File::SetMime(const string& mime_type)
|
||||
{
|
||||
if ( mime_type.empty() || bof_buffer.size != 0 )
|
||||
if ( mime_type.empty() || bof_buffer.size != 0 || did_metadata_inference )
|
||||
return false;
|
||||
|
||||
did_metadata_inference = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue