diff -r 000000000000 -r 6474c204b198 security/nss/cmd/pk11util/scripts/pMechanisms --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/security/nss/cmd/pk11util/scripts/pMechanisms Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,8 @@ +# +# print the mechanism list for a given token +# +set slotID slotList[i] +C_GetMechanismList slotID NULL mechCount +NewArray mechanismList CK_ULONG mechcount +C_GetMechanismList slotID mechanismList mechCount +print mechanismList