Description
What is the issue?
Right now the 'opts.no_ssl_verify' variable that is determined by the supplied '--no-ssl-verify' flag (and defaults to 'True'), is incorrectly supplied to a number of functions that take the 'verify' argument.
The issue is that the meaning of the 'opts.no_ssl_verify' variable is that verification is not supposed to happen if it's value is True, however, in a number of function calls it is supplied for the 'verify' function argument as it is, meaning that the value of 'verify' is set to the opposite of the intended boolean value:
verify = opts.no_ssl_verify
|
What is the fix?
Change all incorrect assignments to
verify = not opts.no_ssl_verify
|
Attachments
For Gerrit Dashboard: MB-50269 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
168302,1 | MB-50269 Fix no_ssl_verify incorrectly suplied in function calls | master | couchbase-cli | Status: ABANDONED | 0 | +1 |