summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2006-03-13 07:21:39 +0000
committerNils Larsch <nils@openssl.org>2006-03-13 07:21:39 +0000
commit7c382796bec1c3f734ebe57ecbaf7be7e8fd0b8e (patch)
treede5f62b5d3d8a0d2baa4037c15c80dbb56449041 /ssl
parentb6acb8d0de35a80a85d2d7bd7f60800a580cbcd9 (diff)
remove unused variables
Diffstat (limited to 'ssl')
-rw-r--r--ssl/t1_lib.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c
index 07149ebcb9..2eb5bb6745 100644
--- a/ssl/t1_lib.c
+++ b/ssl/t1_lib.c
@@ -351,7 +351,6 @@ int ssl_parse_clienthello_tlsext(SSL *s, unsigned char **p, unsigned char *d, in
{
unsigned char *sdata = data;
int ecpointformatlist_length = *(sdata++);
- int i;
if (ecpointformatlist_length != size - 1)
{
@@ -423,7 +422,6 @@ int ssl_parse_serverhello_tlsext(SSL *s, unsigned char **p, unsigned char *d, in
{
unsigned char *sdata = data;
int ecpointformatlist_length = *(sdata++);
- int i;
if (ecpointformatlist_length != size - 1)
{
@@ -552,7 +550,6 @@ int ssl_prepare_serverhello_tlsext(SSL *s)
/* If we are server and using an ECC cipher suite, send the point formats we support
* if the client sent us an ECPointsFormat extension.
*/
- int i;
int algs = s->s3->tmp.new_cipher->algorithms;
int using_ecc = (algs & SSL_kECDH) || (algs & SSL_kECDHE) || (algs & SSL_aECDSA);
using_ecc = using_ecc && (s->session->tlsext_ecpointformatlist != NULL);