Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Sezer Gueler committed May 25, 2017
1 parent 1807297 commit d918d57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion topology/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,8 @@ def _gen_trc_entry(self, topo_id, as_conf):
# Add public online key, certificate for CAs to TRC
ca_certs = defaultdict(dict)
for ca_name, ca_cert in self.ca_certs[topo_id[0]].items():
ca_certs[ca_name][CERTIFICATE_STRING] = crypto.dump_certificate(crypto.FILETYPE_ASN1, ca_cert)
ca_certs[ca_name][CERTIFICATE_STRING] = \
crypto.dump_certificate(crypto.FILETYPE_ASN1, ca_cert)
ca_certs[ca_name][ONLINE_KEY_ALG_STRING] = DEFAULT_KEYGEN_ALG
ca_certs[ca_name][ONLINE_KEY_STRING] = self.ca_online_key_pairs[ca_name][0]
trc.root_cas = ca_certs
Expand Down

0 comments on commit d918d57

Please sign in to comment.