Commit 76de6135 authored by Łukasz Nowak's avatar Łukasz Nowak

Recheck often for openssl_binary

parent d2798ff9
...@@ -121,8 +121,7 @@ class CertificateAuthorityTool(BaseTool): ...@@ -121,8 +121,7 @@ class CertificateAuthorityTool(BaseTool):
if not os.path.isdir(self.certificate_authority_path): if not os.path.isdir(self.certificate_authority_path):
raise CertificateAuthorityDamaged('Path to Certificate Authority %r is ' raise CertificateAuthorityDamaged('Path to Certificate Authority %r is '
'wrong' % self.certificate_authority_path) 'wrong' % self.certificate_authority_path)
if not self.openssl_binary: self.openssl_binary = binary_search('openssl')
raise CertificateAuthorityDamaged('OpenSSL binary was not found!')
self.serial = os.path.join(self.certificate_authority_path, 'serial') self.serial = os.path.join(self.certificate_authority_path, 'serial')
self.crl = os.path.join(self.certificate_authority_path, 'crlnumber') self.crl = os.path.join(self.certificate_authority_path, 'crlnumber')
self.index = os.path.join(self.certificate_authority_path, 'index.txt') 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