summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIker Pedrosa <ipedrosa@redhat.com>2023-03-30 12:50:44 +0200
committerIker Pedrosa <ipedrosa@redhat.com>2023-03-30 12:53:41 +0200
commit8db48b022bdf8cc37f85b2927639aad67cd54be5 (patch)
treec6bccbfa21860ae2bd60514bc7b4d6d90d558772
parentfce804e6959b15552dfbd3cca35c997b57d41e4b (diff)
downloadlinux-pam-git-8db48b022bdf8cc37f85b2927639aad67cd54be5.tar.gz
pam_timestamp: fix build failure
bcba17939e1b1a568cd4a764534cde74d37078cc started using pam_overwrite_n() without providing the definition to this function, which causes a build failure. modules/pam_timestamp/hmac_openssl_wrapper.c: include pam_inline.h Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
-rw-r--r--modules/pam_timestamp/hmac_openssl_wrapper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/pam_timestamp/hmac_openssl_wrapper.c b/modules/pam_timestamp/hmac_openssl_wrapper.c
index df772d60..2549c1db 100644
--- a/modules/pam_timestamp/hmac_openssl_wrapper.c
+++ b/modules/pam_timestamp/hmac_openssl_wrapper.c
@@ -54,6 +54,7 @@
#include <security/pam_modutil.h>
#include "hmac_openssl_wrapper.h"
+#include "pam_inline.h"
#define LOGIN_DEFS "/etc/login.defs"
#define CRYPTO_KEY "HMAC_CRYPTO_ALGO"