зеркало из https://github.com/mozilla/gecko-dev.git
Assign a ** static pointer an actual value instead of just sayin *val = NULL;
This commit is contained in:
Родитель
335bb30339
Коммит
2f2eed1e57
|
@ -777,6 +777,7 @@ SSM_CertListKeywordHandler(SSMTextGenContext *cx)
|
||||||
ssmCLState state;
|
ssmCLState state;
|
||||||
SSMResourceType targetType = SSM_RESTYPE_NULL;
|
SSMResourceType targetType = SSM_RESTYPE_NULL;
|
||||||
PRIntn certType[clAllCA+1];
|
PRIntn certType[clAllCA+1];
|
||||||
|
SSMSortedList *nullHash = NULL;
|
||||||
|
|
||||||
certType[clAllMine] = 0x00000001;
|
certType[clAllMine] = 0x00000001;
|
||||||
certType[clEmailRecipient] = 0x00000010;
|
certType[clEmailRecipient] = 0x00000010;
|
||||||
|
@ -843,7 +844,7 @@ SSM_CertListKeywordHandler(SSMTextGenContext *cx)
|
||||||
state.hash = &((SSMSecurityAdvisorContext *)target)->m_certhash;
|
state.hash = &((SSMSecurityAdvisorContext *)target)->m_certhash;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
*state.hash = NULL;
|
state.hash = &nullHash;
|
||||||
|
|
||||||
state.output = state.temp = NULL;
|
state.output = state.temp = NULL;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче