Skip to content

Commit ccb563d

Browse files
authored
Fix comment on ChaCha20 backend registration (pyca#9764)
1 parent a9bac40 commit ccb563d

File tree

1 file changed

+1
-1
lines changed
  • src/cryptography/hazmat/backends/openssl

1 file changed

+1
-1
lines changed

src/cryptography/hazmat/backends/openssl/backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def _register_default_ciphers(self) -> None:
264264
self.register_cipher_adapter(
265265
TripleDES, ECB, GetCipherByName("des-ede3")
266266
)
267-
# ChaCha20 uses the Short Name "chacha20" in OpenSSL, but in LibreSSL
267+
# ChaCha20 uses the Long Name "chacha20" in OpenSSL, but in LibreSSL
268268
# it uses "chacha"
269269
self.register_cipher_adapter(
270270
ChaCha20,

0 commit comments

Comments
 (0)