[Openvpn-devel] [PATCH applied] Re: Fix use-after-free with EVP_CIPHER_free

2023-06-03 Thread Gert Doering
I have not tested this beyond a simple "does it compile" (it does) - and the fix is quite "obviously correct" - good find. I have also removed the spurious extra blank line on merge. Your patch has been applied to the master and release/2.6 branch (relevant code is not part of 2.5). commit 13f5e

[Openvpn-devel] [PATCH applied] Re: Remove key_type argument from generate_key_random

2023-06-03 Thread Gert Doering
Acked-by: Gert Doering "git show -w" confirms that this is really just indent changes plus taking away the "kt != NULL" path - and since this is called from just a single place, with NULL, just removing the second argument is indeed a good strategy. Tested with a t_client run on FreeBSD (succeed