git: 48b11217bf7e - main - libradius: fix no SSL build
Cy Schubert
cy at FreeBSD.org
Thu Jun 3 00:26:03 UTC 2021
The branch main has been updated by cy:
URL: https://cgit.FreeBSD.org/src/commit/?id=48b11217bf7e605e1c386e316cd6e935aceb4927
commit 48b11217bf7e605e1c386e316cd6e935aceb4927
Author: Cy Schubert <cy at FreeBSD.org>
AuthorDate: 2021-06-02 18:31:00 +0000
Commit: Cy Schubert <cy at 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;
More information about the dev-commits-src-all
mailing list