Fallback of verifyCertificateValidity for connection listener uses incorrect setting
Description
Connection listeners can be asked if ‘certificate validity’ (a date-based check) should be executed.
Connection listeners use a fall-back scenario, in which, if a particular listener does not explicitly configure a property, the property of a delegate is used.
The delegate check for ‘certificate validity’ fails. It does not check for the ‘certificate validity’ property of the delegate. Instead, it erroneously checks for ‘accept self-signed’ property (which is another boolean-based property).
Connection listeners can be asked if ‘certificate validity’ (a date-based check) should be executed.
Connection listeners use a fall-back scenario, in which, if a particular listener does not explicitly configure a property, the property of a delegate is used.
The delegate check for ‘certificate validity’ fails. It does not check for the ‘certificate validity’ property of the delegate. Instead, it erroneously checks for ‘accept self-signed’ property (which is another boolean-based property).