Custom extension revision.
[openssl.git] / ssl / s23_clnt.c
index 0865485bcf4dfef7ea083d756c9996b4b69ef4e7..deb18637ef6fea4b64ba1e651f431ca416773333 100644 (file)
@@ -368,7 +368,7 @@ 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->custom_cli_ext_records_count != 0)
+               if (s->cert->cli_ext.meths_count != 0)
                        ssl2_compat = 0;
                }
 #endif