diff options
| author | jsing <> | 2015-09-01 13:38:27 +0000 | 
|---|---|---|
| committer | jsing <> | 2015-09-01 13:38:27 +0000 | 
| commit | 129b7e769281e2202a11fd7d8054118c56e13abf (patch) | |
| tree | cad3d134dfda06ab6f9bb3a9694244c0dedb8b0e /src/lib/libssl/s3_clnt.c | |
| parent | 9e7c88844639dc20c010e7333937690a9cf3281d (diff) | |
| download | openbsd-129b7e769281e2202a11fd7d8054118c56e13abf.tar.gz openbsd-129b7e769281e2202a11fd7d8054118c56e13abf.tar.bz2 openbsd-129b7e769281e2202a11fd7d8054118c56e13abf.zip | |
Remove the ssl_prepare_{client,server}hello_tlsext() functions, which are
now nothing more than noops.
ok bcook@ doug@
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/s3_clnt.c | 7 | 
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) { | 
