X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Ftls-openssl.c;h=0d653a445bc44bce46f44b79e0255a69ba2ad08a;hb=2130e492c2cda886d74abbb77df4493f151e0a44;hp=0dfd8e01a321d56c234b884be3f390099d8d059c;hpb=48e909900663856b9b1225f5df4cd033302f1bcd;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c index 0dfd8e01a..0d653a445 100644 --- a/src/src/tls-openssl.c +++ b/src/src/tls-openssl.c @@ -4147,6 +4147,8 @@ int *fdp = o_ctx ? &tls_out.active.sock : &tls_in.active.sock; if (*fdp < 0) return; /* TLS was not active */ +tls_write(ct_ctx, NULL, 0, FALSE); /* flush write buffer */ + if (shutdown) { int rc;