diff options
author | jsing <> | 2015-09-01 13:38:27 +0000 |
---|---|---|
committer | jsing <> | 2015-09-01 13:38:27 +0000 |
commit | 590c5fc5e623a41d63741f1eb2f5f50ab090265a (patch) | |
tree | cad3d134dfda06ab6f9bb3a9694244c0dedb8b0e /src/lib/libssl/s3_srvr.c | |
parent | 5d2f851bf9aa598e77b6d89ba8622bfe05ce2371 (diff) | |
download | openbsd-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_srvr.c')
-rw-r--r-- | src/lib/libssl/s3_srvr.c | 7 |
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) { |