From: Willem Toorop Date: Mon, 13 Feb 2017 14:33:29 +0000 (+0100) Subject: ldns-dane hang on remotes that dont close properly X-Git-Tag: release-1.7.1-rc1~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a385ed64878a6b233079ee9541314f72ecd25623;p=thirdparty%2Fldns.git ldns-dane hang on remotes that dont close properly --- diff --git a/examples/ldns-dane.c b/examples/ldns-dane.c index f2236759..bdfd4cc3 100644 --- a/examples/ldns-dane.c +++ b/examples/ldns-dane.c @@ -1951,7 +1951,7 @@ main(int argc, char* const* argv) default: break; /* suppress warning */ } - while (SSL_shutdown(ssl) == 0); + (void)SSL_shutdown(ssl); SSL_free(ssl); } /* end for all addresses */ } /* end No certification file */