diff options
author | Werner Koch <[email protected]> | 2015-10-21 20:38:21 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-10-21 20:38:37 +0000 |
commit | b6af3377e14fad35b9c6041b11888cabce6e8a56 (patch) | |
tree | bbd5e7ef14574b44bd8ed4a8d23bdb9028763aba /dirmngr/t-http.c | |
parent | dirmngr: Check that getaddrinfo is available. (diff) | |
download | gnupg-b6af3377e14fad35b9c6041b11888cabce6e8a56.tar.gz gnupg-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 <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions