зеркало из https://github.com/mozilla/gecko-dev.git
Bugzilla bug 122712: renamed cert_DecodeGeneralName to
CERT_DecodeGeneralName because we export this function from nss.def. (The cert_ prefix suggests an internal function.) Modified Files: lib/certdb/genname.c lib/certdb/genname.h lib/certdb/xconst.c lib/nss/nss.def
This commit is contained in:
Родитель
05ada4384a
Коммит
4acba952bc
|
@ -350,7 +350,7 @@ loser:
|
|||
}
|
||||
|
||||
CERTGeneralName *
|
||||
cert_DecodeGeneralName(PRArenaPool *arena,
|
||||
CERT_DecodeGeneralName(PRArenaPool *arena,
|
||||
SECItem *encodedName,
|
||||
CERTGeneralName *genName)
|
||||
{
|
||||
|
@ -423,7 +423,7 @@ cert_DecodeGeneralNames (PRArenaPool *arena,
|
|||
goto loser;
|
||||
}
|
||||
while (*encodedGenName != NULL) {
|
||||
currentName = cert_DecodeGeneralName(arena, *encodedGenName, NULL);
|
||||
currentName = CERT_DecodeGeneralName(arena, *encodedGenName, NULL);
|
||||
if (currentName == NULL) {
|
||||
goto loser;
|
||||
}
|
||||
|
@ -578,7 +578,7 @@ cert_DecodeNameConstraint(PRArenaPool *arena,
|
|||
if (rv != SECSuccess) {
|
||||
goto loser;
|
||||
}
|
||||
temp = cert_DecodeGeneralName(arena, &(constraint->DERName), &(constraint->name));
|
||||
temp = CERT_DecodeGeneralName(arena, &(constraint->DERName), &(constraint->name));
|
||||
if (temp != &(constraint->name)) {
|
||||
goto loser;
|
||||
}
|
||||
|
|
|
@ -60,7 +60,7 @@ extern SECItem **
|
|||
cert_EncodeGeneralNames(PRArenaPool *arena, CERTGeneralName *names);
|
||||
|
||||
extern CERTGeneralName *
|
||||
cert_DecodeGeneralName(PRArenaPool *arena, SECItem *encodedName,
|
||||
CERT_DecodeGeneralName(PRArenaPool *arena, SECItem *encodedName,
|
||||
CERTGeneralName *genName);
|
||||
|
||||
extern CERTGeneralName *
|
||||
|
|
|
@ -217,7 +217,7 @@ cert_DecodeAuthInfoAccessExtension(PRArenaPool *arena,
|
|||
}
|
||||
|
||||
for (i = 0; info[i] != NULL; i++) {
|
||||
info[i]->location = cert_DecodeGeneralName(arena,
|
||||
info[i]->location = CERT_DecodeGeneralName(arena,
|
||||
&(info[i]->derLocation),
|
||||
NULL);
|
||||
}
|
||||
|
|
|
@ -574,7 +574,7 @@ CERT_CopyName;
|
|||
CERT_CreateSubjectCertList;
|
||||
CERT_DecodeAVAValue;
|
||||
;+#CERT_DecodeCertFromPackage;
|
||||
cert_DecodeGeneralName;
|
||||
CERT_DecodeGeneralName;
|
||||
CERT_DecodeTrustString;
|
||||
CERT_DerNameToAscii;
|
||||
CERT_EncodeGeneralName;
|
||||
|
|
Загрузка…
Ссылка в новой задаче