Allowing the export of CAs that don't have a chain. (#1000)
This commit is contained in:
parent
cecfe47540
commit
c2b2ce1f11
@ -42,6 +42,10 @@ def split_chain(chain):
|
||||
:return:
|
||||
"""
|
||||
certs = []
|
||||
|
||||
if not chain:
|
||||
return certs
|
||||
|
||||
lines = chain.split('\n')
|
||||
|
||||
cert = []
|
||||
|
Loading…
Reference in New Issue
Block a user