From b4492042d90c1cbd036088b2fbe6959689c92eda Mon Sep 17 00:00:00 2001 From: Seth Schoen Date: Mon, 24 Nov 2014 15:59:32 -0800 Subject: [PATCH] For crypto.util, read crypto_util --- letsencrypt/client/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/letsencrypt/client/client.py b/letsencrypt/client/client.py index abe8ec87b..1e61f5d30 100644 --- a/letsencrypt/client/client.py +++ b/letsencrypt/client/client.py @@ -54,7 +54,7 @@ class Client(object): sys.exit(1) # If CSR is provided, it must be readable and valid. try: - if self.csr_file and not crypto.util.valid_csr(self.csr_file): + if self.csr_file and not crypto_util.valid_csr(self.csr_file): logger.fatal("The provided CSR is not a valid CSR") sys.exit(1) except IOError, e: @@ -62,7 +62,7 @@ class Client(object): sys.exit(1) # If key is provided, it must be readable and valid. try: - if self.key_file and not crypto.util.valid_privkey(self.key_file): + if self.key_file and not crypto_util.valid_privkey(self.key_file): logger.fatal("The provided key is not a valid key") sys.exit(1) except IOError, e: