mirror of
https://git.proxmox.com/git/libgit2
synced 2026-01-19 20:45:55 +00:00
Merge pull request #2346 from kitbellew/fix2300
Minor fix for previously merged netops code.
This commit is contained in:
commit
e161962634
@ -206,6 +206,8 @@ static int gitno_ssl_teardown(gitno_ssl *ssl)
|
||||
return ret;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* Match host names according to RFC 2818 rules */
|
||||
int gitno__match_host(const char *pattern, const char *host)
|
||||
{
|
||||
@ -256,6 +258,8 @@ static int check_host_name(const char *name, const char *host)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef GIT_SSL
|
||||
|
||||
static int verify_server_cert(gitno_ssl *ssl, const char *host)
|
||||
{
|
||||
X509 *cert;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user