24 lines
465 B
C
24 lines
465 B
C
#ifndef H_CERTIFICATE
|
|
#define H_CERTIFICATE
|
|
|
|
#include "audit/fips.h"
|
|
#include <unistd.h>
|
|
#include <fcntl.h>
|
|
#include <sys/stat.h>
|
|
#include <string.h>
|
|
|
|
#define BUF_PATH_PKEY 256
|
|
|
|
struct args{
|
|
char *pathname;
|
|
int is_pubkey;
|
|
int to_stdout;
|
|
};
|
|
|
|
int certificate(char **, const int);
|
|
static int check_arguments_certificate(char **, const int, char *, int *, int *, int *);
|
|
static int file_exist(const char *);
|
|
static void get_username(uid_t, char *);
|
|
|
|
#endif
|