mirror of https://github.com/getdnsapi/getdns.git
Minor bugfix for use with openssl 1.1.0
This commit is contained in:
parent
c53b15bd9a
commit
e4b0d08fad
|
@ -396,8 +396,7 @@ _getdns_verify_pinset_match(const sha256_pin_t *pinset,
|
||||||
#if defined(STUB_DEBUG) && STUB_DEBUG
|
#if defined(STUB_DEBUG) && STUB_DEBUG
|
||||||
DEBUG_STUB("%s %-35s: Name of cert: %d ",
|
DEBUG_STUB("%s %-35s: Name of cert: %d ",
|
||||||
STUB_DEBUG_SETUP_TLS, __FUNCTION__, i);
|
STUB_DEBUG_SETUP_TLS, __FUNCTION__, i);
|
||||||
if (x->cert_info->subject != NULL)
|
X509_NAME_print_ex_fp(stderr, X509_get_subject_name(x), 1, XN_FLAG_ONELINE);
|
||||||
X509_NAME_print_ex_fp(stderr, X509_get_subject_name(x), 1, XN_FLAG_ONELINE);
|
|
||||||
fprintf(stderr, "\n");
|
fprintf(stderr, "\n");
|
||||||
#endif
|
#endif
|
||||||
/* digest the cert with sha256 */
|
/* digest the cert with sha256 */
|
||||||
|
|
|
@ -2050,6 +2050,12 @@ _getdns_submit_stub_request(getdns_network_req *netreq)
|
||||||
* dnsreq->loop. The asynchronous is always also available
|
* dnsreq->loop. The asynchronous is always also available
|
||||||
* at the upstream as upstream->loop.
|
* at the upstream as upstream->loop.
|
||||||
*/
|
*/
|
||||||
|
if (is_synchronous_request(netreq)) {
|
||||||
|
DEBUG_STUB("%s %-35s: MSG: %p TYPE: %d SYNCHROUNOUS\n", STUB_DEBUG_ENTRY, __FUNCTION__, netreq, netreq->request_type);
|
||||||
|
} else {
|
||||||
|
DEBUG_STUB("%s %-35s: MSG: %p TYPE: %d asynchronous\n", STUB_DEBUG_ENTRY, __FUNCTION__, netreq, netreq->request_type);
|
||||||
|
}
|
||||||
|
|
||||||
GETDNS_SCHEDULE_EVENT(
|
GETDNS_SCHEDULE_EVENT(
|
||||||
dnsreq->loop,
|
dnsreq->loop,
|
||||||
/* Synchronous lookup?, then this event will be used to
|
/* Synchronous lookup?, then this event will be used to
|
||||||
|
|
Loading…
Reference in New Issue