Changeset 40 for trunk/include/samhain.h


Ignore:
Timestamp:
May 31, 2006, 9:38:30 PM (18 years ago)
Author:
rainer
Message:

Fix for tickets #13, #14, #15, #16, #17

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/samhain.h

    r34 r40  
    4545/* Sizes for arrays (user, group, timestamp).
    4646 */
     47#define SOCKPASS_MAX 14
    4748#define USER_MAX  20
    4849#define GROUP_MAX 20
    4950#define TIM_MAX   32
     51
    5052
    5153/* The number of bytes in a key, 
     
    262264
    263265typedef struct {
    264   char   sh_sockpass[32];
     266  char   sh_sockpass[2*SOCKPASS_MAX+2];
    265267  char   sigkey_old[KEY_LEN+1];
    266268  char   sigkey_new[KEY_LEN+1];
Note: See TracChangeset for help on using the changeset viewer.