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:
|
:return:
|
||||||
"""
|
"""
|
||||||
certs = []
|
certs = []
|
||||||
|
|
||||||
|
if not chain:
|
||||||
|
return certs
|
||||||
|
|
||||||
lines = chain.split('\n')
|
lines = chain.split('\n')
|
||||||
|
|
||||||
cert = []
|
cert = []
|
||||||
|
|
Loading…
Reference in New Issue