mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
a few more small fixes for chains containing broken certs.
This commit is contained in:
parent
b16322aefb
commit
ff00c0786a
4 changed files with 7 additions and 5 deletions
|
@ -86,8 +86,10 @@ STACK_OF(X509)* x509_get_untrusted_stack(VectorVal* certs_vec)
|
|||
{
|
||||
Val *sv = certs_vec->Lookup(i);
|
||||
|
||||
// Fixme: check type
|
||||
if ( !sv )
|
||||
continue;
|
||||
|
||||
// Fixme: check type
|
||||
X509* x = ((file_analysis::X509Val*) sv)->GetCertificate();
|
||||
if ( ! x )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue