зеркало из https://github.com/mozilla/pjs.git
Fix mechanism command.
This commit is contained in:
Родитель
07f8d63578
Коммит
c06f7bf9d6
|
@ -1160,7 +1160,7 @@ const Commands _commands[] = {
|
|||
"Create a new CK_MECHANISM object with type NULL paramters and specified type\n"
|
||||
" varName variable name of the new mechansim\n"
|
||||
" mechanismType CKM_ mechanism type value to set int the type field\n",
|
||||
{ArgMechanism|ArgOut, ArgULong, ArgNone, ArgNone, ArgNone,
|
||||
{ArgVar|ArgNew, ArgULong, ArgNone, ArgNone, ArgNone,
|
||||
ArgNone, ArgNone, ArgNone, ArgNone, ArgNone }},
|
||||
{"BuildTemplate", F_BuildTemplate,
|
||||
"BuildTemplate template\n\n"
|
||||
|
|
|
@ -748,6 +748,7 @@ DeleteVariable(const char *bp)
|
|||
if (PL_strcasecmp((*current)->vname,vname) == 0) {
|
||||
argFree((*current)->value);
|
||||
*current = (*current)->next;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return CKR_OK;
|
||||
|
|
Загрузка…
Ссылка в новой задаче