summaryrefslogtreecommitdiff
path: root/openid/cryptutil.py
diff options
context:
space:
mode:
Diffstat (limited to 'openid/cryptutil.py')
-rw-r--r--openid/cryptutil.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/openid/cryptutil.py b/openid/cryptutil.py
index 3fddee6..86c3e86 100644
--- a/openid/cryptutil.py
+++ b/openid/cryptutil.py
@@ -182,14 +182,3 @@ def longToBase64(l):
def base64ToLong(s):
return binaryToLong(fromBase64(s))
-
-
-def const_eq(s1, s2):
- if len(s1) != len(s2):
- return False
-
- result = True
- for i in range(len(s1)):
- result = result and (s1[i] == s2[i])
-
- return result