Commit 4f42be04 authored by Łukasz Nowak's avatar Łukasz Nowak Committed by Rafael Monnerat

Recheck often for openssl_binary

parent c76f571e
......@@ -120,8 +120,7 @@ class CertificateAuthorityTool(BaseTool):
if not os.path.isdir(self.certificate_authority_path):
raise CertificateAuthorityDamaged('Path to Certificate Authority %r is '
'wrong' % self.certificate_authority_path)
if not self.openssl_binary:
raise CertificateAuthorityDamaged('OpenSSL binary was not found!')
self.openssl_binary = binary_search('openssl')
self.serial = os.path.join(self.certificate_authority_path, 'serial')
self.crl = os.path.join(self.certificate_authority_path, 'crlnumber')
self.index = os.path.join(self.certificate_authority_path, 'index.txt')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment