summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s3_srvr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/s3_srvr.c')
-rw-r--r--src/lib/libssl/s3_srvr.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/libssl/s3_srvr.c b/src/lib/libssl/s3_srvr.c
index 9962cabd73..3f9f6720fa 100644
--- a/src/lib/libssl/s3_srvr.c
+++ b/src/lib/libssl/s3_srvr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s3_srvr.c,v 1.114 2015/08/29 16:51:17 doug Exp $ */ 1/* $OpenBSD: s3_srvr.c,v 1.115 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 *
@@ -1132,11 +1132,6 @@ ssl3_send_server_hello(SSL *s)
1132 /* put the compression method */ 1132 /* put the compression method */
1133 *(p++) = 0; 1133 *(p++) = 0;
1134 1134
1135 if (ssl_prepare_serverhello_tlsext(s) <= 0) {
1136 SSLerr(SSL_F_SSL3_SEND_SERVER_HELLO,
1137 SSL_R_SERVERHELLO_TLSEXT);
1138 return (-1);
1139 }
1140 bufend = (unsigned char *)s->init_buf->data + 1135 bufend = (unsigned char *)s->init_buf->data +
1141 SSL3_RT_MAX_PLAIN_LENGTH; 1136 SSL3_RT_MAX_PLAIN_LENGTH;
1142 if ((p = ssl_add_serverhello_tlsext(s, p, bufend)) == NULL) { 1137 if ((p = ssl_add_serverhello_tlsext(s, p, bufend)) == NULL) {