Skip to content

Commit 70e0d4c

Browse files
antoinelochetAntoine Lochet
andauthored
Fixed PKCS#11 3.2 C_Decapsulate definition (#831)
Co-authored-by: Antoine Lochet <[email protected]>
1 parent 8940193 commit 70e0d4c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/pkcs11/pkcs11.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2848,7 +2848,7 @@ _CK_DECLARE_FUNCTION (C_DecapsulateKey,
28482848
struct ck_attribute *templ,
28492849
unsigned long attribute_count,
28502850
unsigned char *ciphertext,
2851-
unsigned long *ciphertext_len,
2851+
unsigned long ciphertext_len,
28522852
ck_object_handle_t *key_ptr));
28532853
_CK_DECLARE_FUNCTION (C_VerifySignatureInit,
28542854
(ck_session_handle_t session,
@@ -3053,6 +3053,7 @@ typedef unsigned char CK_BBOOL;
30533053
typedef unsigned long int CK_ULONG;
30543054
typedef long int CK_LONG;
30553055
typedef CK_BYTE *CK_BYTE_PTR;
3056+
typedef CK_FLAGS *CK_FLAGS_PTR;
30563057
typedef CK_CHAR *CK_CHAR_PTR;
30573058
typedef CK_UTF8CHAR *CK_UTF8CHAR_PTR;
30583059
typedef CK_ULONG *CK_ULONG_PTR;

0 commit comments

Comments
 (0)