Re: [Openvpn-devel] [PATCH v2 1/2] crypto: move validation logic from cipher_get to cipher_valid

2022-02-04 Thread David Sommerseth
On 03/02/2022 20:36, Antonio Quartulli wrote: With cipher validation performed in cipher_get(), a cipher is never returned in any case if some check fails. This prevents OpenVPN from operating on all ciphers provided by the SSL library, like printing them to the user. Move the validation logic

[Openvpn-devel] [PATCH v2 1/2] crypto: move validation logic from cipher_get to cipher_valid

2022-02-03 Thread Antonio Quartulli
With cipher validation performed in cipher_get(), a cipher is never returned in any case if some check fails. This prevents OpenVPN from operating on all ciphers provided by the SSL library, like printing them to the user. Move the validation logic to cipher_valid() so that checks are performed