From 1aed0263ae61e4705c13bb60ad815ec59be30bc7 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Fri, 12 Jan 2018 02:36:04 +0100 Subject: [PATCH] Fix creds for encrypt_header. --- tcllib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcllib.py b/tcllib.py index eccdd7d..362f380 100644 --- a/tcllib.py +++ b/tcllib.py @@ -386,7 +386,7 @@ class FotaCheck: return fileid, fileurl, slaves, encslaves, s3_fileurl, s3_slaves def do_encrypt_header(self, encslave, address): - params = self.get_creds() + params = self.get_creds2() params[b"address"] = bytes(address, "utf-8") url = "http://" + encslave + "/encrypt_header.php" req = self.sess.post(url, data=params, verify=False)