mirror of
https://github.com/Yubico/yubico-pam.git
synced 2025-02-20 21:54:16 +01:00
move includes around in an attempt to include less
This commit is contained in:
parent
79612b5b29
commit
6dbcb903a5
@ -45,6 +45,8 @@
|
||||
#include "util.h"
|
||||
#include "drop_privs.h"
|
||||
|
||||
#include <ykclient.h>
|
||||
|
||||
#if HAVE_CR
|
||||
/* for yubikey pbkdf2*/
|
||||
#include <ykpbkdf2.h>
|
||||
|
3
util.c
3
util.c
@ -44,6 +44,9 @@
|
||||
/* for yubikey_hex_decode and yubikey_hex_p */
|
||||
#include <yubikey.h>
|
||||
#include <ykpbkdf2.h>
|
||||
|
||||
#include <ykstatus.h>
|
||||
#include <ykdef.h>
|
||||
#endif /* HAVE_CR */
|
||||
|
||||
int
|
||||
|
7
util.h
7
util.h
@ -35,9 +35,7 @@
|
||||
#define __PAM_YUBICO_UTIL_H_INCLUDED__
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <ykclient.h>
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#if defined(DEBUG_PAM)
|
||||
# if defined(HAVE_SECURITY__PAM_MACROS_H)
|
||||
@ -57,10 +55,7 @@
|
||||
int get_user_cfgfile_path(const char *common_path, const char *filename, const char *username, char **fn);
|
||||
|
||||
#if HAVE_CR
|
||||
|
||||
#include <ykcore.h>
|
||||
#include <ykstatus.h>
|
||||
#include <ykdef.h>
|
||||
|
||||
/* Challenges can be 0..63 or 64 bytes long, depending on YubiKey configuration.
|
||||
* We settle for 63 bytes to have something that works with all configurations.
|
||||
|
Loading…
x
Reference in New Issue
Block a user