summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s3_clnt.c
diff options
context:
space:
mode:
authorjsing <>2015-09-01 13:38:27 +0000
committerjsing <>2015-09-01 13:38:27 +0000
commit590c5fc5e623a41d63741f1eb2f5f50ab090265a (patch)
treecad3d134dfda06ab6f9bb3a9694244c0dedb8b0e /src/lib/libssl/s3_clnt.c
parent5d2f851bf9aa598e77b6d89ba8622bfe05ce2371 (diff)
downloadopenbsd-590c5fc5e623a41d63741f1eb2f5f50ab090265a.tar.gz
openbsd-590c5fc5e623a41d63741f1eb2f5f50ab090265a.tar.bz2
openbsd-590c5fc5e623a41d63741f1eb2f5f50ab090265a.zip
Remove the ssl_prepare_{client,server}hello_tlsext() functions, which are
now nothing more than noops. ok bcook@ doug@
Diffstat (limited to 'src/lib/libssl/s3_clnt.c')
-rw-r--r--src/lib/libssl/s3_clnt.c7
1 files changed, 1 insertions, 6 deletions
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 @@
1/* $OpenBSD: s3_clnt.c,v 1.123 2015/08/29 16:51:17 doug Exp $ */ 1/* $OpenBSD: s3_clnt.c,v 1.124 2015/09/01 13:38:27 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -675,11 +675,6 @@ ssl3_client_hello(SSL *s)
675 *(p++) = 0; /* Add the NULL method */ 675 *(p++) = 0; /* Add the NULL method */
676 676
677 /* TLS extensions*/ 677 /* TLS extensions*/
678 if (ssl_prepare_clienthello_tlsext(s) <= 0) {
679 SSLerr(SSL_F_SSL3_CLIENT_HELLO,
680 SSL_R_CLIENTHELLO_TLSEXT);
681 goto err;
682 }
683 bufend = (unsigned char *)s->init_buf->data + 678 bufend = (unsigned char *)s->init_buf->data +
684 SSL3_RT_MAX_PLAIN_LENGTH; 679 SSL3_RT_MAX_PLAIN_LENGTH;
685 if ((p = ssl_add_clienthello_tlsext(s, p, bufend)) == NULL) { 680 if ((p = ssl_add_clienthello_tlsext(s, p, bufend)) == NULL) {