aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mastodon')
-rw-r--r--mastodon/Mastodon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index 1d41551..465beb7 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -2591,7 +2591,7 @@ class Mastodon:
2591 push_key_priv = push_key_pair.private_numbers().private_value 2591 push_key_priv = push_key_pair.private_numbers().private_value
2592 2592
2593 crypto_ver = cryptography.__version__ 2593 crypto_ver = cryptography.__version__
2594 if len(crypto_ver) > 5: 2594 if len(crypto_ver) < 5:
2595 crypto_ver += ".0" 2595 crypto_ver += ".0"
2596 if bigger_version(crypto_ver, "2.5.0") == crypto_ver: 2596 if bigger_version(crypto_ver, "2.5.0") == crypto_ver:
2597 push_key_pub = push_key_pair.public_key().public_bytes(serialization.Encoding.X962, serialization.PublicFormat.UncompressedPoint) 2597 push_key_pub = push_key_pair.public_key().public_bytes(serialization.Encoding.X962, serialization.PublicFormat.UncompressedPoint)
Powered by cgit v1.2.3 (git 2.41.0)