mirror of https://github.com/getdnsapi/getdns.git
Compare commits
3 Commits
aca15088e5
...
9bb533ab57
Author | SHA1 | Date |
---|---|---|
|
9bb533ab57 | |
|
86bd62cb40 | |
|
adcdf20289 |
|
@ -1,4 +1,4 @@
|
||||||
* 2022-08-12: Version 1.7.1
|
* 2022-08-??: Version 1.7.1
|
||||||
* Always send the `dot` ALPN when using DoT
|
* Always send the `dot` ALPN when using DoT
|
||||||
* Strengthen version determination for Libidn2 during cmake processing (thanks
|
* Strengthen version determination for Libidn2 during cmake processing (thanks
|
||||||
jpbion).
|
jpbion).
|
||||||
|
|
|
@ -393,6 +393,12 @@ _getdns_tls_connection* _getdns_tls_connection_new(struct mem_funcs* mfs, _getdn
|
||||||
if (dane_state_init(&res->dane_state, DANE_F_IGNORE_DNSSEC) != DANE_E_SUCCESS)
|
if (dane_state_init(&res->dane_state, DANE_F_IGNORE_DNSSEC) != DANE_E_SUCCESS)
|
||||||
goto failed;
|
goto failed;
|
||||||
|
|
||||||
|
gnutls_datum_t proto;
|
||||||
|
proto.data = (unsigned char *)"dot";
|
||||||
|
proto.size = 3;
|
||||||
|
if (gnutls_alpn_set_protocols(res->tls, &proto, 1, 0) != GNUTLS_E_SUCCESS)
|
||||||
|
goto failed;
|
||||||
|
|
||||||
gnutls_transport_set_int(res->tls, fd);
|
gnutls_transport_set_int(res->tls, fd);
|
||||||
return res;
|
return res;
|
||||||
|
|
||||||
|
|
2
stubby
2
stubby
|
@ -1 +1 @@
|
||||||
Subproject commit a1a6f6c6b512c88cc3ec5965eaee255b08bdc7cd
|
Subproject commit d477475a1141b4f6f86518c444bce36db3dcd29f
|
Loading…
Reference in New Issue