Home GnuPG
Diffusion GnuPG b6af3377e14f

dirmngr: Allow use of http.c if USE_NPTH is not defined.
b6af3377e14fUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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>

Details

Provenance
wernerAuthored on Oct 21 2015, 10:38 PM
Parents
rG6fafda979df8: dirmngr: Check that getaddrinfo is available.
Branches
Unknown
Tags
Unknown

Event Timeline