From b13f3459ffe182fa5a94c928fa8f7bc6c3a6f30e Mon Sep 17 00:00:00 2001 From: dongyuzhen Date: Fri, 27 Dec 2024 17:14:27 +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 d983589..be74677 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 55dc2a7..bd8fb26 100644 --- a/pam.spec +++ b/pam.spec @@ -4,7 +4,7 @@ %define _pamconfdir %{_sysconfdir}/pam.d Name: pam Version: 1.5.2 -Release: 10 +Release: 11 Summary: Pluggable Authentication Modules for Linux License: BSD and GPLv2+ URL: http://www.linux-pam.org/ @@ -180,6 +180,9 @@ make check %changelog +* Fri Dec 27 2024 dongyuzhen - 1.5.2-11 +- fix tst-pam_unix5 test case failure + * Tue Dec 17 2024 dongyuzhen - 1.5.2-10 - fix CVE-2024-10041 -- Gitee