We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f00cd78 commit 3441f87Copy full SHA for 3441f87
src/aioquic/_crypto.c
@@ -407,10 +407,13 @@ PyInit__crypto(void)
407
PyModule_AddObject(m, "HeaderProtection", HeaderProtectionType);
408
409
// ensure required ciphers are initialised
410
+ // LibreSSL loads all cipher by default, and doesn't support add_cipher
411
+#ifndef LIBRESSL_VERSION_NUMBER
412
EVP_add_cipher(EVP_aes_128_ecb());
413
EVP_add_cipher(EVP_aes_128_gcm());
414
EVP_add_cipher(EVP_aes_256_ecb());
415
EVP_add_cipher(EVP_aes_256_gcm());
416
+#endif
417
418
return m;
419
}
0 commit comments