Support for certificate status TLS extension.
[openssl.git] / ssl / s23_clnt.c
index c500a932a78727849d9453d779836577517699fe..78c39d9af558bf1137a52017f33aad913cc4cccc 100644 (file)
@@ -283,6 +283,8 @@ static int ssl23_client_hello(SSL *s)
 
                if (s->tlsext_hostname != NULL)
                        ssl2_compat = 0;
+               if (s->tlsext_status_type != -1)
+                       ssl2_compat = 0;
                
 #ifdef TLSEXT_TYPE_opaque_prf_input
                if (s->ctx->tlsext_opaque_prf_input_callback != 0 || s->tlsext_opaque_prf_input != NULL)