mirror of https://github.com/MISP/misp-modules
Merge pull request #407 from JakubOnderka/patch-3
fix: [circl_passivessl] Return proper error for IPv6 addressespull/411/head
commit
4d7bc25dd0
|
@ -44,6 +44,10 @@ class PassiveSSLParser():
|
||||||
self.result = {'error': 'Not found'}
|
self.result = {'error': 'Not found'}
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if 'error' in results:
|
||||||
|
self.result = {'error': results['error']}
|
||||||
|
return
|
||||||
|
|
||||||
for ip_address, certificates in results.items():
|
for ip_address, certificates in results.items():
|
||||||
ip_uuid = self._handle_ip_attribute(ip_address)
|
ip_uuid = self._handle_ip_attribute(ip_address)
|
||||||
for certificate in certificates['certificates']:
|
for certificate in certificates['certificates']:
|
||||||
|
|
Loading…
Reference in New Issue