From f8435919a1f83f364348890477021f4481924f08 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 24 Jan 2013 14:06:54 +0000 Subject: [PATCH] Fix warning: lenmax isn't used any more. --- ssl/t1_lib.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 9daf9c706e..512045f31e 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -1387,13 +1387,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 */ -- 2.25.1