Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/cpl/trousers new config file



details:   https://anonhg.NetBSD.org/src/rev/99ffe6a4f1e2
branches:  trunk
changeset: 447314:99ffe6a4f1e2
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jan 07 15:43:17 2019 +0000

description:
new config file

diffstat:

 crypto/external/cpl/trousers/dist/src/tspi/tsp_tcsi_param.c |  5 +++--
 crypto/external/cpl/trousers/lib/libtspi/Makefile           |  3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r adfe6d75b598 -r 99ffe6a4f1e2 crypto/external/cpl/trousers/dist/src/tspi/tsp_tcsi_param.c
--- a/crypto/external/cpl/trousers/dist/src/tspi/tsp_tcsi_param.c       Mon Jan 07 15:43:04 2019 +0000
+++ b/crypto/external/cpl/trousers/dist/src/tspi/tsp_tcsi_param.c       Mon Jan 07 15:43:17 2019 +0000
@@ -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 @@
 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);
diff -r adfe6d75b598 -r 99ffe6a4f1e2 crypto/external/cpl/trousers/lib/libtspi/Makefile
--- a/crypto/external/cpl/trousers/lib/libtspi/Makefile Mon Jan 07 15:43:04 2019 +0000
+++ b/crypto/external/cpl/trousers/lib/libtspi/Makefile Mon Jan 07 15:43:17 2019 +0000
@@ -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_seal.c \
 tsp_selftest.c \
 tsp_sign.c \
+tsp_tcsi_param.c \
 tsp_tick.c \
 tspi_admin.c \
 tspi_aik.c \



Home | Main Index | Thread Index | Old Index