libradius: fix WITHOUT_OPENSSL build
int alen is used only with SSL. Reported by: Michael Dexter, Build Option Survey MFC after: 3 days Fixes: 8d5c7813061d ("libradius: Fix input validation bugs") Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
1c69690319
commit
a901f2af58
@ -286,8 +286,9 @@ is_valid_request(struct rad_handle *h)
|
||||
MD5_CTX ctx;
|
||||
unsigned char md5[MD5_DIGEST_LENGTH];
|
||||
const struct rad_server *srvp;
|
||||
int alen, len;
|
||||
int len;
|
||||
#ifdef WITH_SSL
|
||||
int alen;
|
||||
HMAC_CTX *hctx;
|
||||
u_char resp[MSGSIZE], md[EVP_MAX_MD_SIZE];
|
||||
u_int md_len;
|
||||
|
Loading…
x
Reference in New Issue
Block a user