lib: skip compiling code with features disabled

In non-SSL, non-SSH, non-H3, non-AppleSecTrust builds.

Also:
- drop unused internal macro `SSL_SYSTEM_VERIFIER`.

Closes #20587
This commit is contained in:
Viktor Szakats 2026-02-13 10:32:28 +01:00
parent 0649eb0825
commit d445f2d930
No known key found for this signature in database
10 changed files with 31 additions and 28 deletions

View file

@ -22,10 +22,11 @@
*
***************************************************************************/
#include "../curl_setup.h"
#include "ssh.h"
#ifdef USE_SSH
#include "vssh.h"
#include "ssh.h"
#ifdef USE_SSH
#include "../curlx/strparse.h"
#include "../curl_trc.h"
#include "../escape.h"