Home GnuPG
Diffusion GnuPG eb54fca4bf3e

dirmngr: Gracefully handle premature termination of TLS streams.
eb54fca4bf3eUnpublished

Unpublished Commit ยท Learn More

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

Description

dirmngr: Gracefully handle premature termination of TLS streams.

* dirmngr/http.c (close_tls_session): New function.
(session_unref): Use the new function to close the TLS stream.
(cookie_read): If the stream terminated prematurely, close it and
return a short read.

With this patch, I was able to update all the keys in the Debian
keyring over hkps.

  • Signed-off-by: Justus Winter <justus@g10code.com>
  • GnuPG-bug-id: T1950

Details

Provenance
justusAuthored on Nov 18 2015, 3:06 PM
Parents
rG84ebf15b06e4: tools: Fix option parsing for gpg-zip.
Branches
Unknown
Tags
Unknown
References
fix-1950