From 49b6ffb40461c0487fc40a7212207f48020c5e28 Mon Sep 17 00:00:00 2001 From: dongyuzhen Date: Fri, 27 Dec 2024 17:26:09 +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 c69dbe8..372b684 100644 --- a/pam.spec +++ b/pam.spec @@ -4,7 +4,7 @@ %define _pamconfdir %{_sysconfdir}/pam.d Name: pam Version: 1.5.3 -Release: 6 +Release: 7 Summary: Pluggable Authentication Modules for Linux License: BSD and GPLv2+ URL: http://www.linux-pam.org/ @@ -181,6 +181,9 @@ make check %changelog +* Fri Dec 27 2024 dongyuzhen - 1.5.3-7 +- fix tst-pam_unix5 test case failure + * Tue Dec 17 2024 dongyuzhen - 1.5.3-6 - fix CVE-2024-10041 -- Gitee