summaryrefslogtreecommitdiff
path: root/libtac/include
diff options
context:
space:
mode:
authorWalter de Jong <walter@heiho.net>2013-03-29 00:28:10 +0100
committerWalter de Jong <walter@heiho.net>2013-03-29 00:28:10 +0100
commitf663d6e0e8b5aa16009610b429499671bf8f4cc9 (patch)
tree92460331c9f08307cde0e7698614fea5b4660661 /libtac/include
parentca77c0cfd6f62e0ac7780b5161bb6c4c49065d9b (diff)
downloadpam_tacplus-f663d6e0e8b5aa16009610b429499671bf8f4cc9.tar.gz
pam_tacplus-f663d6e0e8b5aa16009610b429499671bf8f4cc9.zip
removed double xcalloc() function; do not leak memory for these small buffers; added safe xstrcpy()
Diffstat (limited to 'libtac/include')
-rw-r--r--libtac/include/libtac.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtac/include/libtac.h b/libtac/include/libtac.h
index 8a7381d..7b7518f 100644
--- a/libtac/include/libtac.h
+++ b/libtac/include/libtac.h
@@ -79,7 +79,7 @@ struct areply {
};
#ifndef TAC_PLUS_MAXSERVERS
-#define TAC_PLUS_MAXSERVERS 4
+#define TAC_PLUS_MAXSERVERS 8
#endif
#ifndef TAC_PLUS_PORT
@@ -114,7 +114,7 @@ extern int tac_ver_patch;
extern int session_id;
extern int tac_encryption;
extern const char *tac_secret;
-extern char *tac_login;
+extern char tac_login[64];
extern int tac_priv_lvl;
extern int tac_authen_method;
extern int tac_authen_service;