PR: 2009
[openssl.git] / ssl / s23_clnt.c
index a71311e71645afca9ffd495db931eb19a99794aa..20cde4f20f4d98309c47dfa69e613f8fd634e5c9 100644 (file)
@@ -269,11 +269,14 @@ static int ssl23_client_hello(SSL *s)
        {
        unsigned char *buf;
        unsigned char *p,*d;
-       int i,j,ch_len;
+       int i,ch_len;
        unsigned long Time,l;
        int ssl2_compat;
        int version = 0, version_major, version_minor;
+#ifndef OPENSSL_NO_COMP
+       int j;
        SSL_COMP *comp;
+#endif
        int ret;
 
        ssl2_compat = (s->options & SSL_OP_NO_SSLv2) ? 0 : 1;