Use appropriate versions of SSL3_ENC_METHOD
[oweals/openssl.git] / ssl / s23_clnt.c
index 2c38b1a76a676e541fe5570c2925443884b5794a..15da654bf195e50d55b62c78fade8e282f0fefb1 100644 (file)
@@ -340,7 +340,9 @@ static int ssl23_client_hello(SSL *s)
                if (s->ctx->tlsext_opaque_prf_input_callback != 0 || s->tlsext_opaque_prf_input != NULL)
                        ssl2_compat = 0;
 #endif
-                if (s->ctx->tlsext_authz_server_audit_proof_cb != NULL)
+               if (s->ctx->tlsext_authz_server_audit_proof_cb != NULL)
+                       ssl2_compat = 0;
+               if (s->ctx->custom_cli_ext_records_count != 0)
                        ssl2_compat = 0;
                }
 #endif