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 a46e573..ffb93b7 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)
                {