typedef struct _pubkeyinfo
{
int pubkeysize[LM_PUBKEYS];
unsigned char pubkey[LM_PUBKEYS][LM_MAXPUBKEYSIZ];
int (*pubkey_fptr)();
int strength;
int sign_level;
} LM_VENDORCODE_PUBKEYINFO;
typedef struct _vendorcode
{
short type;
unsigned long data[2];
unsigned long keys[4];
short flexlm_version;
short flexlm_revision;
char flexlm_patch[2];
char behavior_ver[LM_MAX_BEH_VER + 1];
unsigned long trlkeys[2];
int signs;
int strength;
int sign_level;
LM_VENDORCODE_PUBKEYINFO pubkeyinfo[LM_MAXSIGNS];
} VENDORCODE;
....................
static unsigned int l_2078index = 16; //0x10, 静态存储
....................
Static int l_n36_buf
(
char *buf;
VENDORCODE *v;
unsigned int l_buf_13;
unsigned char *l_ctr_17;
unsigned int l_8indexes;
unsigned int *l_18index;
char *buf2
);
{
......................
//第一处Flag的位置
if (l_18index) *l_18index = 1;
.............................
//第二处Flag的位置
if (l_4counters == 0) v->pubkeyinfo[0].pubkeysize[0] += (l_2078index << 0);