]> git.ipfire.org Git - thirdparty/curl.git/commit
openssl: define `HAVE_KEYLOG_CALLBACK` before use
authorViktor Szakats <commit@vsz.me>
Mon, 27 Jan 2025 22:04:02 +0000 (23:04 +0100)
committerViktor Szakats <commit@vsz.me>
Tue, 28 Jan 2025 10:15:10 +0000 (11:15 +0100)
commit8b8ec574bcd6ce711eb3c1010bcba5f1f33b0fd6
treeac6bf239629b831c5e035c4379e7c65229fdf951
parent1dce2a1746aa0a935e480495f87389df1eec124e
openssl: define `HAVE_KEYLOG_CALLBACK` before use

Before this patch this macro was used in `vtls/openssl.h` without
setting it first, causing the `keylog_done` member be present in
struct `ossl_ctx` while the code did not use it.

Follow-up to 3210101088dfa3d6a125d213226b092f2f866722 #13172
Closes #16105
lib/vtls/openssl.c
lib/vtls/openssl.h