Commit c6a27f01 authored by Nils Larsch's avatar Nils Larsch
Browse files

fix for OPENSSL_NO_EC

PR: 1293
parent 67b6f1ca
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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)
		{