mirror of
https://github.com/Yubico/yubico-pam.git
synced 2025-03-16 03:29:17 +01:00
Fix implicit yubikey_* declarations.
This commit is contained in:
parent
bba72bfead
commit
b27599957c
@ -43,6 +43,11 @@
|
|||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "drop_privs.h"
|
#include "drop_privs.h"
|
||||||
|
|
||||||
|
#if HAVE_CR
|
||||||
|
/* for yubikey_hex_decode and yubikey_hex_p */
|
||||||
|
#include <yubikey.h>
|
||||||
|
#endif /* HAVE_CR */
|
||||||
|
|
||||||
/* Libtool defines PIC for shared objects */
|
/* Libtool defines PIC for shared objects */
|
||||||
#ifndef PIC
|
#ifndef PIC
|
||||||
#define PAM_STATIC
|
#define PAM_STATIC
|
||||||
|
5
util.c
5
util.c
@ -39,6 +39,11 @@
|
|||||||
|
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
||||||
|
#if HAVE_CR
|
||||||
|
/* for yubikey_hex_decode and yubikey_hex_p */
|
||||||
|
#include <yubikey.h>
|
||||||
|
#endif /* HAVE_CR */
|
||||||
|
|
||||||
int
|
int
|
||||||
get_user_cfgfile_path(const char *common_path, const char *filename, const char *username, char **fn)
|
get_user_cfgfile_path(const char *common_path, const char *filename, const char *username, char **fn)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user