From 2820c55697589e820bf4d52a3c41a5e845f60c73 Mon Sep 17 00:00:00 2001 From: Facundo Tuesca Date: Tue, 24 Oct 2023 16:35:17 +0200 Subject: [PATCH] Fix comment on ChaCha20 backend registration --- src/cryptography/hazmat/backends/openssl/backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cryptography/hazmat/backends/openssl/backend.py b/src/cryptography/hazmat/backends/openssl/backend.py index 733c31d47296..52b536908dec 100644 --- a/src/cryptography/hazmat/backends/openssl/backend.py +++ b/src/cryptography/hazmat/backends/openssl/backend.py @@ -264,7 +264,7 @@ def _register_default_ciphers(self) -> None: self.register_cipher_adapter( TripleDES, ECB, GetCipherByName("des-ede3") ) - # ChaCha20 uses the Short Name "chacha20" in OpenSSL, but in LibreSSL + # ChaCha20 uses the Long Name "chacha20" in OpenSSL, but in LibreSSL # it uses "chacha" self.register_cipher_adapter( ChaCha20,