Merge pull request #10575 from PeculiarVentures/master

Fix errors
This commit is contained in:
Nathan Shively-Sanders
2016-08-11 15:10:04 -07:00
committed by GitHub
2 changed files with 1637 additions and 2111 deletions
+1635 -2109
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -210,7 +210,7 @@ declare module "pkcs11js" {
* @param {Handle} slot ID of token's slot
* @returns {Handle[]} Gets mech. array
*/
C_GetMechanismList(slot: Handle): Handle[];
C_GetMechanismList(slot: Handle): number[];
/**
* Obtains information about a particular mechanism possibly supported by a token
*
@@ -218,7 +218,7 @@ declare module "pkcs11js" {
* @param {Handle} mech Type of mechanism
* @returns {MechanismInfo} Receives mechanism info
*/
C_GetMechanismInfo(slot: Handle, mech: Handle): MechanismInfo;
C_GetMechanismInfo(slot: Handle, mech: number): MechanismInfo;
/* Session management */