diff options
author | Iker Pedrosa <ipedrosa@redhat.com> | 2023-04-13 09:56:50 +0200 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-04-20 13:10:06 +0000 |
commit | 4bfb0ce61f7a528287d316b702e4e5d332d95fb7 (patch) | |
tree | e60821fccfe8137fa2594eab719677ad5d87550f /modules/pam_timestamp | |
parent | 52c04fea33392a35ea291b2e1ff82c3992492e22 (diff) | |
download | pam-4bfb0ce61f7a528287d316b702e4e5d332d95fb7.tar.gz pam-4bfb0ce61f7a528287d316b702e4e5d332d95fb7.tar.bz2 pam-4bfb0ce61f7a528287d316b702e4e5d332d95fb7.zip |
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>
Diffstat (limited to 'modules/pam_timestamp')
-rw-r--r-- | modules/pam_timestamp/Makefile.am | 7 |
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 |