If you are not redirected automatically, follow this
link to getdns_return_t getdns_context_set_tls_max_version(getdns_context *context, getdns_tls_version_t max_version)
.