Commit 6bfa9e9a authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen
Browse files

Build fix for older gnutls versions

* src/gnutls.c (emacs_gnutls_handle_error):
GNUTLS_E_PREMATURE_TERMINATION is apparently only present in
parent cf9ce4fc
......@@ -586,8 +586,10 @@ emacs_gnutls_handle_error (gnutls_session_t session, int err)
/* Mostly ignore "The TLS connection was non-properly
terminated" message which just means that the peer closed the
connection. */
level = 3;
GNUTLS_LOG2 (level, max_log_level, "fatal error:", str);
ret = 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment