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>