PK11_MoveKey was renamed PK11_MoveSymKey. r=relyea.

Modified Files: symkeyutil.c nss.def pk11func.h pk11skey.c
This commit is contained in:
wchang0222%aol.com 2003-12-19 23:29:43 +00:00
Родитель 6e767fb4eb
Коммит 010acd81c1
4 изменённых файлов: 4 добавлений и 4 удалений

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

@ -1093,7 +1093,7 @@ main(int argc, char **argv)
goto shutdown; goto shutdown;
} }
rv = SECFailure; rv = SECFailure;
newKey = PK11_MoveKey(target, CKA_ENCRYPT, 0, PR_TRUE, symKey); newKey = PK11_MoveSymKey(target, CKA_ENCRYPT, 0, PR_TRUE, symKey);
if (!newKey) { if (!newKey) {
PR_fprintf(PR_STDERR, "%s: Couldn't move the key \n",progName); PR_fprintf(PR_STDERR, "%s: Couldn't move the key \n",progName);
goto shutdown; goto shutdown;

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

@ -770,7 +770,7 @@ PK11_DeriveWithFlagsPerm;
PK11_ExportEncryptedPrivKeyInfo; PK11_ExportEncryptedPrivKeyInfo;
PK11_FindSlotsByAliases; PK11_FindSlotsByAliases;
PK11_GetSymKeyType; PK11_GetSymKeyType;
PK11_MoveKey; PK11_MoveSymKey;
PK11_PubDeriveExtended; PK11_PubDeriveExtended;
PK11_PubUnwrapSymKeyWithFlagsPerm; PK11_PubUnwrapSymKeyWithFlagsPerm;
PK11_UnwrapSymKeyWithFlagsPerm; PK11_UnwrapSymKeyWithFlagsPerm;

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

@ -304,7 +304,7 @@ SECStatus PK11_WrapSymKey(CK_MECHANISM_TYPE type, SECItem *params,
* operation or the flags and making the key permanent at the same time. * operation or the flags and making the key permanent at the same time.
* If the key is moved to the same slot, operation and flags values are * If the key is moved to the same slot, operation and flags values are
* currently ignored */ * currently ignored */
PK11SymKey *PK11_MoveKey(PK11SlotInfo *slot, CK_ATTRIBUTE_TYPE operation, PK11SymKey *PK11_MoveSymKey(PK11SlotInfo *slot, CK_ATTRIBUTE_TYPE operation,
CK_FLAGS flags, PRBool perm, PK11SymKey *symKey); CK_FLAGS flags, PRBool perm, PK11SymKey *symKey);
/* /*
* derive a new key from the base key. * derive a new key from the base key.

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

@ -1428,7 +1428,7 @@ pk11_ForceSlot(PK11SymKey *symKey,CK_MECHANISM_TYPE type,
} }
PK11SymKey * PK11SymKey *
PK11_MoveKey(PK11SlotInfo *slot, CK_ATTRIBUTE_TYPE operation, PK11_MoveSymKey(PK11SlotInfo *slot, CK_ATTRIBUTE_TYPE operation,
CK_FLAGS flags, PRBool perm, PK11SymKey *symKey) CK_FLAGS flags, PRBool perm, PK11SymKey *symKey)
{ {
if (symKey->slot == slot) { if (symKey->slot == slot) {