X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Ftls-openssl.c;h=8f4cf4d82fbd937502918de05501b883fbd866c3;hb=c8b2f3749e953b254b4d6ac1ea047451eb771953;hp=8a1fec6a9be7f5284f065c1cdb64a4f6a5e395b0;hpb=5a2a0989efb831472f8edf5c4991953e6140c3ad;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c index 8a1fec6a9..8f4cf4d82 100644 --- a/src/src/tls-openssl.c +++ b/src/src/tls-openssl.c @@ -2281,6 +2281,8 @@ if (rc <= 0) } DEBUG(D_tls) debug_printf("SSL_accept was successful\n"); +ERR_clear_error(); /* Even success can leave errors in the stack. Seen with + anon-authentication ciphersuite negociated. */ /* TLS has been set up. Adjust the input functions to read via TLS, and initialize things. */