From 018ebd40879aa5b5156d71b9505e7dbd5ce12e68 Mon Sep 17 00:00:00 2001 From: Jakub Warmuz Date: Mon, 24 Nov 2014 13:32:55 +0100 Subject: [PATCH] Fix TODO encode? in apache_configurator. `s = Random.get_random_bytes(CONFIG.S_SIZE)`, so `s` is `str`. --- letsencrypt/client/apache_configurator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/letsencrypt/client/apache_configurator.py b/letsencrypt/client/apache_configurator.py index 389530e56..b95d5c8bb 100644 --- a/letsencrypt/client/apache_configurator.py +++ b/letsencrypt/client/apache_configurator.py @@ -1116,7 +1116,7 @@ LogLevel warn \n\ self.save("SNI Challenge", True) self.restart(True) - s = le_util.jose_b64encode(s) # TODO: s.encode? + s = le_util.jose_b64encode(s) return {"type":"dvsni", "s":s} def cleanup(self):