diff --git a/letsencrypt/client/client.py b/letsencrypt/client/client.py index 1e61f5d30..621e0ab82 100644 --- a/letsencrypt/client/client.py +++ b/letsencrypt/client/client.py @@ -70,8 +70,8 @@ class Client(object): sys.exit(1) # If CSR and key are provided, the key must be the same key used # in the CSR. - if self.csr_file and self.key_file and \ - not csr_matches_pubkey(self.csr_file, self.key_file): + if self.csr_file and self.key_file and not \ + crypto_util.csr_matches_pubkey(self.csr_file, self.key_file): logger.fatal("The provided key is not the same key referred to by \ the CSR file") sys.exit(1)