fix for OPENSSL_NO_EC
[openssl.git] / ssl / t1_lib.c
index a46e573ff692d45cc2cb8a28b55c0bd47c0c0ff9..ffb93b7b6bb96be19f2564eafcefd5e9512b8ab5 100644 (file)
@@ -384,9 +384,9 @@ int ssl_parse_clienthello_tlsext(SSL *s, unsigned char **p, unsigned char *d, in
                        fprintf(stderr,"\n");
 #endif
                        }
+#endif /* OPENSSL_NO_EC */
                data+=size;             
                }
-#endif /* OPENSSL_NO_EC */
 
        *p = data;
        return 1;
@@ -455,10 +455,9 @@ int ssl_parse_serverhello_tlsext(SSL *s, unsigned char **p, unsigned char *d, in
                        fprintf(stderr,"\n");
 #endif
                        }
-
+#endif /* OPENSSL_NO_EC */
                data+=size;             
                }
-#endif /* OPENSSL_NO_EC */
 
        if (data != d+n)
                {