зеркало из https://github.com/mozilla/pjs.git
Bugzilla bug 265686: the 'name' argument to PK11_FindSlotByName should be
const char *. The patch is contributed by timeless@bemail.org. r=wtc. Modified files: pk11pub.h pk11slot.c
This commit is contained in:
Родитель
e2b1472a20
Коммит
094f087ca7
|
@ -95,7 +95,7 @@ SECStatus PK11_TokenRefresh(PK11SlotInfo *slot);
|
|||
/******************************************************************
|
||||
* Slot info functions
|
||||
******************************************************************/
|
||||
PK11SlotInfo *PK11_FindSlotByName(char *name);
|
||||
PK11SlotInfo *PK11_FindSlotByName(const char *name);
|
||||
/******************************************************************
|
||||
* PK11_FindSlotsByNames searches for a PK11SlotInfo using one or
|
||||
* more criteria : dllName, slotName and tokenName . In addition, if
|
||||
|
|
|
@ -571,7 +571,7 @@ PK11_FindSlotsByNames(const char *dllName, const char* slotName,
|
|||
}
|
||||
|
||||
PK11SlotInfo *
|
||||
PK11_FindSlotByName(char *name)
|
||||
PK11_FindSlotByName(const char *name)
|
||||
{
|
||||
SECMODModuleList *mlp;
|
||||
SECMODModuleList *modules = SECMOD_GetDefaultModuleList();
|
||||
|
|
Загрузка…
Ссылка в новой задаче