Changeset 5eab9260 for lib/ssl_gnutls.c
- Timestamp:
- 2018-09-09T22:04:41Z (6 years ago)
- Branches:
- master
- Children:
- 67f4cfe
- Parents:
- 37437f2
- git-author:
- Christopher Brannon <chris@…> (09-09-18 21:45:10)
- git-committer:
- Christopher Brannon <chris@…> (09-09-18 22:04:41)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/ssl_gnutls.c
r37437f2 r5eab9260 323 323 gnutls_set_default_priority(conn->session); 324 324 gnutls_credentials_set(conn->session, GNUTLS_CRD_CERTIFICATE, xcred); 325 if (conn->hostname && !g_ ascii_isdigit(conn->hostname[0])) {325 if (conn->hostname && !g_hostname_is_ip_address(conn->hostname)) { 326 326 gnutls_server_name_set(conn->session, GNUTLS_NAME_DNS, 327 327 conn->hostname, strlen(conn->hostname));
Note: See TracChangeset
for help on using the changeset viewer.