The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=48b11217bf7e605e1c386e316cd6e935aceb4927
commit 48b11217bf7e605e1c386e316cd6e935aceb4927 Author: Cy Schubert <[email protected]> AuthorDate: 2021-06-02 18:31:00 +0000 Commit: Cy Schubert <[email protected]> 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; _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main To unsubscribe, send any mail to "[email protected]"
