summaryrefslogtreecommitdiff
path: root/jwt/algorithms.py
diff options
context:
space:
mode:
authorMark Adams <madams@atlassian.com>2015-03-17 14:19:55 -0500
committerMark Adams <madams@atlassian.com>2015-03-17 14:19:55 -0500
commita72cf6df7a35e32562cb02aa17369cdc913834c9 (patch)
tree0ad329d3648a374d86a8508b582df26dc22e7483 /jwt/algorithms.py
parent2f21e386cd4d32bf3528ab27f552c94740959b60 (diff)
downloadpyjwt-a72cf6df7a35e32562cb02aa17369cdc913834c9.tar.gz
Added back some parenthesis now that I remember how to write Python
Diffstat (limited to 'jwt/algorithms.py')
-rw-r--r--jwt/algorithms.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/jwt/algorithms.py b/jwt/algorithms.py
index 91bf350..bd3595a 100644
--- a/jwt/algorithms.py
+++ b/jwt/algorithms.py
@@ -27,9 +27,9 @@ def _register_default_algorithms(pyjwt_obj):
pyjwt_obj.register_algorithm('HS512', HMACAlgorithm(HMACAlgorithm.SHA512))
if has_crypto:
- pyjwt_obj.register_algorithm('RS256', RSAAlgorithm(RSAAlgorithm.SHA256)
- pyjwt_obj.register_algorithm('RS384', RSAAlgorithm(RSAAlgorithm.SHA384)
- pyjwt_obj.register_algorithm('RS512', RSAAlgorithm(RSAAlgorithm.SHA512)
+ pyjwt_obj.register_algorithm('RS256', RSAAlgorithm(RSAAlgorithm.SHA256))
+ pyjwt_obj.register_algorithm('RS384', RSAAlgorithm(RSAAlgorithm.SHA384))
+ pyjwt_obj.register_algorithm('RS512', RSAAlgorithm(RSAAlgorithm.SHA512))
pyjwt_obj.register_algorithm('ES256', ECAlgorithm(ECAlgorithm.SHA256))
pyjwt_obj.register_algorithm('ES384', ECAlgorithm(ECAlgorithm.SHA384))