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:
wtc%netscape.com 2002-02-14 02:53:20 +00:00
Родитель 05ada4384a
Коммит 4acba952bc
4 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -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;