summaryrefslogtreecommitdiffstats
path: root/dirmngr/t-http.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2015-10-21 22:38:21 +0200
committerWerner Koch <wk@gnupg.org>2015-10-21 22:38:37 +0200
commitb6af3377e14fad35b9c6041b11888cabce6e8a56 (patch)
treebbd5e7ef14574b44bd8ed4a8d23bdb9028763aba /dirmngr/t-http.c
parentdirmngr: Check that getaddrinfo is available. (diff)
downloadgnupg2-b6af3377e14fad35b9c6041b11888cabce6e8a56.tar.xz
gnupg2-b6af3377e14fad35b9c6041b11888cabce6e8a56.zip
dirmngr: Allow use of http.c if USE_NPTH is not defined.
* dirmngr/http.c (send_request): Always set the gnutls pull/push functions. (my_npth_read): Rename to ... (my_gnutls_read) .. this. Use system read if !USE_NPTH. (my_npth_write): Rename to ... (my_gnutls_write) .. this. Use system write if !USE_NPTH. -- This is necessary to run t-http because we once switched to a ref counted object with the socket descriptor. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'dirmngr/t-http.c')
0 files changed, 0 insertions, 0 deletions