summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2013-01-24 14:06:54 +0000
committerDr. Stephen Henson <steve@openssl.org>2013-01-24 14:06:54 +0000
commitc38b76bf69adff2ae6240a474ac4309cda9bf163 (patch)
tree76667a9acc8a69d03f53809a1c5f4b3bed5b0e12
parent1703627ba8fb30c2e90eb59097a8606a1318b9ee (diff)
Fix warning: lenmax isn't used any more.
-rw-r--r--ssl/t1_lib.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c
index 1d2615bde1..a1a8badcda 100644
--- a/ssl/t1_lib.c
+++ b/ssl/t1_lib.c
@@ -1389,13 +1389,11 @@ unsigned char *ssl_add_clienthello_tlsext(SSL *s, unsigned char *p, unsigned cha
/* 1 byte for the list (we only support audit proofs) */
if (s->ctx->tlsext_authz_server_audit_proof_cb != NULL)
{
- size_t lenmax;
const unsigned short ext_len = 2;
const unsigned char list_len = 1;
if (limit < ret + 6)
return NULL;
- lenmax = limit - ret - 6;
s2n(TLSEXT_TYPE_server_authz, ret);
/* Extension length: 2 bytes */