Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kill redundant free_certs argument to GnuTLS assign_privkey() function
This was added in commit 04ccc26 ("Simplify extra_certs handling w.r.t. assign_privkey()") because GnuTLS 2 didn't take a copy of the certs which were assigned to the creds, and we needed to keep track of which extra certs were used and which weren't. The GnuTLS 3 variant of assign_privkey() didn't use it, since GnuTLS 3 takes a copy of the certs and we can just free them normally. Now that we've dropped GnuTLS 2 support, we can drop this argument too and simplify assign_privkey() a little bit. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
- Loading branch information