Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24435)
(cherry picked from commit
a73e07dbb7df4795c4ec537f19516b541fb8dd3c)
If the B<mode> is SSL_VERIFY_NONE none of the other flags may be set.
+If verification flags are not modified explicitly by C<SSL_CTX_set_verify()>
+or C<SSL_set_verify()>, the default value will be SSL_VERIFY_NONE.
+
The actual verification procedure is performed either using the built-in
verification procedure or using another application provided verification
function set with