Revision of custom extension code.
[openssl.git] / ssl / s23_clnt.c
index 0865485bcf4dfef7ea083d756c9996b4b69ef4e7..903f1282ddd44f57e284a466d773752998faf220 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->custom_cli_ext_records_count != 0)
                        ssl2_compat = 0;
                }
 #endif