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 ff28cac commit 1b7c8b2Copy full SHA for 1b7c8b2
src/Bundle/JoseFramework/DependencyInjection/Source/Encryption/EncryptionSource.php
@@ -106,7 +106,7 @@ private function getAlgorithmsFiles(): array
106
RSA::class => 'encryption_rsa.yml',
107
A128CTR::class => 'encryption_experimental.yml',
108
];
109
- if (!\in_array('chacha20-poly1305', \openssl_get_cipher_methods(), true)) {
+ if (\in_array('chacha20-poly1305', \openssl_get_cipher_methods(), true)) {
110
$list[Chacha20Poly1305::class] = 'encryption_experimental_chacha20_poly1305.yml';
111
}
112
0 commit comments