mirror of
https://github.com/pissnet/pissircd.git
synced 2025-07-29 14:32:25 +01:00
Don't use X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS to fix compile problems.
I guess it's not that important so not doing #if defined() checks for it. Compile problem reported by val.
This commit is contained in:
parent
24622144b1
commit
bfd9650abf
1 changed files with 1 additions and 1 deletions
|
@ -1064,7 +1064,7 @@ int verify_certificate(SSL *ssl, const char *hostname, char **errstr)
|
|||
}
|
||||
|
||||
#ifdef HAS_X509_check_host
|
||||
n = X509_check_host(cert, hostname, strlen(hostname), X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS, NULL);
|
||||
n = X509_check_host(cert, hostname, strlen(hostname), 0, NULL);
|
||||
X509_free(cert);
|
||||
if (n == 1)
|
||||
return 1; /* Hostname matched. All tests passed. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue