comparison sysoptions.h @ 1537:6a83b1944432

Fix restricted group code for BSDs, move to separate function
author Matt Johnston <matt@ucc.asn.au>
date Mon, 26 Feb 2018 21:17:13 +0800
parents 7c7c5326ad73
children 1c66ca4f3791
comparison
equal deleted inserted replaced
1536:a55a6901a181 1537:6a83b1944432
78 /* success/failure defines */ 78 /* success/failure defines */
79 #define DROPBEAR_SUCCESS 0 79 #define DROPBEAR_SUCCESS 0
80 #define DROPBEAR_FAILURE -1 80 #define DROPBEAR_FAILURE -1
81 81
82 #define DROPBEAR_PASSWORD_ENV "DROPBEAR_PASSWORD" 82 #define DROPBEAR_PASSWORD_ENV "DROPBEAR_PASSWORD"
83
84 #define DROPBEAR_NGROUP_MAX 1024
83 85
84 /* Required for pubkey auth */ 86 /* Required for pubkey auth */
85 #define DROPBEAR_SIGNKEY_VERIFY ((DROPBEAR_SVR_PUBKEY_AUTH) || (DROPBEAR_CLIENT)) 87 #define DROPBEAR_SIGNKEY_VERIFY ((DROPBEAR_SVR_PUBKEY_AUTH) || (DROPBEAR_CLIENT))
86 88
87 #define SHA1_HASH_SIZE 20 89 #define SHA1_HASH_SIZE 20