new config file

This commit is contained in:
christos 2019-01-07 15:43:17 +00:00
parent 71d1bfd50f
commit c48b6ae7fc
2 changed files with 5 additions and 3 deletions

View File

@ -15,7 +15,8 @@
#ifndef __APPLE__
#include <limits.h>
#else
#endif
#ifndef HOST_NAME_MAX
#define HOST_NAME_MAX 64
#endif
@ -99,7 +100,7 @@ int
get_hostname_from_env(char **host_str, unsigned *len)
{
char *env_host, *tmp_str = NULL;
unsigned env_len;
size_t env_len;
// Tries to retrieve from env var first.
env_host = getenv(HOSTNAME_ENV_VAR);

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2018/02/04 03:19:52 christos Exp $
# $NetBSD: Makefile,v 1.3 2019/01/07 15:43:17 christos Exp $
.include "../Makefile.inc"
CPPFLAGS+=-DAPPID=\"TSPI\" -DVAR_PREFIX=\"/var\" -DETC_PREFIX=\"/etc\"
@ -108,6 +108,7 @@ tsp_random.c \
tsp_seal.c \
tsp_selftest.c \
tsp_sign.c \
tsp_tcsi_param.c \
tsp_tick.c \
tspi_admin.c \
tspi_aik.c \