From 590c5fc5e623a41d63741f1eb2f5f50ab090265a Mon Sep 17 00:00:00 2001 From: jsing <> Date: Tue, 1 Sep 2015 13:38:27 +0000 Subject: Remove the ssl_prepare_{client,server}hello_tlsext() functions, which are now nothing more than noops. ok bcook@ doug@ --- src/lib/libssl/s3_clnt.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/lib/libssl/s3_clnt.c') diff --git a/src/lib/libssl/s3_clnt.c b/src/lib/libssl/s3_clnt.c index 5503f89ab6..5b9af06aa5 100644 --- a/src/lib/libssl/s3_clnt.c +++ b/src/lib/libssl/s3_clnt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s3_clnt.c,v 1.123 2015/08/29 16:51:17 doug Exp $ */ +/* $OpenBSD: s3_clnt.c,v 1.124 2015/09/01 13:38:27 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -675,11 +675,6 @@ ssl3_client_hello(SSL *s) *(p++) = 0; /* Add the NULL method */ /* TLS extensions*/ - if (ssl_prepare_clienthello_tlsext(s) <= 0) { - SSLerr(SSL_F_SSL3_CLIENT_HELLO, - SSL_R_CLIENTHELLO_TLSEXT); - goto err; - } bufend = (unsigned char *)s->init_buf->data + SSL3_RT_MAX_PLAIN_LENGTH; if ((p = ssl_add_clienthello_tlsext(s, p, bufend)) == NULL) { -- cgit v1.2.3-55-g6feb