]>
git.proxmox.com Git - libgit2.git/blob - src/libgit2/transports/auth_ntlm.h
2 * Copyright (C) the libgit2 contributors. All rights reserved.
4 * This file is part of libgit2, distributed under the GNU GPL v2 with
5 * a Linking Exception. For full terms see the included COPYING file.
8 #ifndef INCLUDE_transports_auth_ntlm_h__
9 #define INCLUDE_transports_auth_ntlm_h__
13 /* NTLM requires a full request/challenge/response */
14 #define GIT_AUTH_STEPS_NTLM 2
18 #if defined(GIT_OPENSSL)
19 # define CRYPT_OPENSSL
20 #elif defined(GIT_MBEDTLS)
21 # define CRYPT_MBEDTLS
22 #elif defined(GIT_SECURE_TRANSPORT)
23 # define CRYPT_COMMONCRYPTO
26 extern int git_http_auth_ntlm(
27 git_http_auth_context
**out
,
28 const git_net_url
*url
);
32 #define git_http_auth_ntlm git_http_auth_dummy