libradius: fix no SSL build

int alen is only used with SSL.
This commit is contained in:
Cy Schubert 2021-06-02 11:31:00 -07:00
parent 903526542a
commit 48b11217bf

View file

@ -187,8 +187,10 @@ is_valid_response(struct rad_handle *h, int srv,
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;