From 5fbfcdad1efbea3ce6580c682d813daa79c3653a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 12:16:57 +0200 Subject: Adding upstream version 2.7.14. Signed-off-by: Daniel Baumann --- methods/connect.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'methods/connect.cc') diff --git a/methods/connect.cc b/methods/connect.cc index 110f2fc..f3e199d 100644 --- a/methods/connect.cc +++ b/methods/connect.cc @@ -19,8 +19,10 @@ #include #include +#ifdef HAVE_GNUTLS #include #include +#endif #include #include @@ -798,7 +800,8 @@ ResultState UnwrapSocks(std::string Host, int Port, URI Proxy, std::unique_ptr &Fd, return ResultState::SUCCESSFUL; } - /*}}}*/ +#endif /*}}}*/ -- cgit v1.2.3