Date: Thu, 3 Jun 2021 00:26:02 GMT From: Cy Schubert <cy@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 48b11217bf7e - main - libradius: fix no SSL build Message-ID: <202106030026.1530Q2a9080884@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=48b11217bf7e605e1c386e316cd6e935aceb4927 commit 48b11217bf7e605e1c386e316cd6e935aceb4927 Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2021-06-02 18:31:00 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2021-06-03 00:25:37 +0000 libradius: fix no SSL build int alen is only used with SSL. --- lib/libradius/radlib.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/libradius/radlib.c b/lib/libradius/radlib.c index 4d21887c4ee2..ce0c0ccf453a 100644 --- a/lib/libradius/radlib.c +++ b/lib/libradius/radlib.c @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106030026.1530Q2a9080884>