fix for OPENSSL_NO_EC
authorNils Larsch <nils@openssl.org>
Wed, 15 Mar 2006 19:17:56 +0000 (19:17 +0000)
committerNils Larsch <nils@openssl.org>
Wed, 15 Mar 2006 19:17:56 +0000 (19:17 +0000)
PR: 1293

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)
                {