We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 203b9d5 commit 7287508Copy full SHA for 7287508
1 file changed
varnish.py
@@ -110,7 +110,7 @@ def quit(self):
110
111
def auth(self, secret, content):
112
challenge = content[:32]
113
- response = sha256('%s\n%s\n%s\n' % (challenge, secret, challenge))
+ response = sha256('%s\n%s%s\n' % (challenge, secret, challenge))
114
response_str = 'auth %s' % response.hexdigest()
115
self.fetch(response_str)
116
0 commit comments