On Mon 20 Nov 2017 09:10:03 PM CET, Max Reitz wrote: > Signed-off-by: Max Reitz <mre...@redhat.com> > --- > block/curl.c | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/block/curl.c b/block/curl.c > index 11318a9a29..fe57223fda 100644 > --- a/block/curl.c > +++ b/block/curl.c > @@ -957,6 +957,20 @@ static int64_t curl_getlength(BlockDriverState *bs) > return s->len; > } > > +static void curl_refresh_filename(BlockDriverState *bs) > +{ > + BDRVCURLState *s = bs->opaque; > + > + if (!s->sslverify || s->cookie || > + s->username || s->password || s->proxyusername || s->proxypassword) > + {
Is !s->sslverify negative because that setting is true by default? Berto