From dee79dff8227bdd1d928df370588d356641c036d Mon Sep 17 00:00:00 2001 From: dongyuzhen Date: Fri, 27 Dec 2024 17:22:44 +0800 Subject: [PATCH] fix tst-pam_unix5 test case failure --- add-sm3-crypt-support.patch | 2 +- pam.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/add-sm3-crypt-support.patch b/add-sm3-crypt-support.patch index eef922f..e8fef1a 100644 --- a/add-sm3-crypt-support.patch +++ b/add-sm3-crypt-support.patch @@ -347,7 +347,7 @@ index 0000000..a6be19b +#!/bin/sh + +# testcase1 modify password, desire password encrypt with sm3 -+/usr/sbin/useradd -p tstpamunix ++/usr/sbin/useradd tstpamunix +# this run must successfully change the password +./tst-pam_unix5 pass +RET=$? diff --git a/pam.spec b/pam.spec index b9f3475..51dca25 100644 --- a/pam.spec +++ b/pam.spec @@ -4,7 +4,7 @@ %define _pamconfdir %{_sysconfdir}/pam.d Name: pam Version: 1.5.3 -Release: 8 +Release: 9 Summary: Pluggable Authentication Modules for Linux License: BSD-3-Clause AND GPL-2.0-or-later URL: http://www.linux-pam.org/ @@ -167,6 +167,9 @@ rm -fr $RPM_BUILD_ROOT/usr/share/doc/pam %changelog +* Fri Dec 27 2024 dongyuzhen - 1.5.3-9 +- fix tst-pam_unix5 test case failure + * Tue Dec 17 2024 dongyuzhen - 1.5.3-8 - fix CVE-2024-10041 -- Gitee