Remove unused arguement

This commit is contained in:
si-gui 2020-12-25 10:45:16 +08:00
parent 2b486ab3a2
commit 80f51cc775
2 changed files with 30 additions and 2 deletions

View File

@ -4,7 +4,7 @@
Name: freeradius
Version: 3.0.15
Release: 19
Release: 20
Summary: Remote Authentication Dial-In User Service
License: GPLv2+ and LGPLv2+
@ -19,6 +19,7 @@ Source4: freeradius-tmpfiles.conf
Patch6000: CVE-2019-11234_1.patch
Patch6001: CVE-2019-11234_2.patch
Patch6002: CVE-2019-10143.patch
Patch6003: remove-unused-arguement.patch
BuildRequires: autoconf gdbm-devel openssl openssl-devel pam-devel zlib-devel net-snmp-devel
BuildRequires: net-snmp-utils readline-devel libpcap-devel systemd-units libtalloc-devel
@ -434,10 +435,13 @@ exit 0
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/ldap
%changelog
* Fri Dec 25 2020 sunguoshuai <sunguoshuai@huawei.com> - 3.0.15-20
- Remove unused arguement
* Mon Nov 09 2020 huanghaitao <huanghaitao8@huawei.com> - 3.0.15-19
- Make help package requires by freeradius
Aug 21 2020 yuboyun <yuboyun@huawei.com> - 3.0.15-18
* Fri Aug 21 2020 yuboyun <yuboyun@huawei.com> - 3.0.15-18
- Type: bugfix
- ID: NA
- SUG: NA

View File

@ -0,0 +1,24 @@
From f06084a007fdcaad3bd68f29e243fa8edcf0b590 Mon Sep 17 00:00:00 2001
From: "Alan T. DeKok" <aland@freeradius.org>
Date: Thu, 24 Dec 2020 07:38:59 -0500
Subject: [PATCH] remove unused argument. Fixes #3817
---
src/tests/map/map_unit.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/tests/map/map_unit.c b/src/tests/map/map_unit.c
index af6d016..df906a5 100644
--- a/src/tests/map/map_unit.c
+++ b/src/tests/map/map_unit.c
@@ -81,7 +81,6 @@ static void NEVER_RETURNS usage(void)
fprintf(stderr, "usage: map_unit [OPTS] filename ...\n");
fprintf(stderr, " -d <raddb> Set user dictionary directory (defaults to " RADDBDIR ").\n");
fprintf(stderr, " -D <dictdir> Set main dictionary directory (defaults to " DICTDIR ").\n");
- fprintf(stderr, " -O <output_dir> Set output directory\n");
fprintf(stderr, " -x Debugging mode.\n");
fprintf(stderr, " -M Show program version information.\n");
--
2.23.0