summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIker Pedrosa <ipedrosa@redhat.com>2023-04-13 09:56:50 +0200
committerDmitry V. Levin <ldv@strace.io>2023-04-20 13:10:06 +0000
commit4bfb0ce61f7a528287d316b702e4e5d332d95fb7 (patch)
treee60821fccfe8137fa2594eab719677ad5d87550f
parent52c04fea33392a35ea291b2e1ff82c3992492e22 (diff)
downloadlinux-pam-git-4bfb0ce61f7a528287d316b702e4e5d332d95fb7.tar.gz
pam_timestamp: Only build hmacfile when no openssl
* modules/pam_timestamp/Makefile.am: Only build hmacfile target when openssl isn't enabled. Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
-rw-r--r--modules/pam_timestamp/Makefile.am7
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/pam_timestamp/Makefile.am b/modules/pam_timestamp/Makefile.am
index bc2f3617..27d61237 100644
--- a/modules/pam_timestamp/Makefile.am
+++ b/modules/pam_timestamp/Makefile.am
@@ -49,14 +49,11 @@ pam_timestamp_check_CFLAGS = $(AM_CFLAGS) @EXE_CFLAGS@
pam_timestamp_check_LDADD = $(top_builddir)/libpam/libpam.la $(SYSTEMD_LIBS)
pam_timestamp_check_LDFLAGS = @EXE_LDFLAGS@
-if COND_USE_OPENSSL
-hmacfile_SOURCES = hmac_openssl_wrapper.c
-else
+if !COND_USE_OPENSSL
hmacfile_SOURCES = hmacfile.c hmacsha1.c sha1.c
-endif
hmacfile_LDADD = $(top_builddir)/libpam/libpam.la
-
check_PROGRAMS = hmacfile
+endif
if ENABLE_REGENERATE_MAN
dist_noinst_DATA = README