Skip to content

published/3-02/pkcs11f.h header file has a mistake and does not compile. #24

@keldonin

Description

@keldonin

published/3-02/pkcs11f.h has a syntax error. A comma is clearly missing a the end of line 1324, causing the compiler to choke.

CK_BYTE_PTR pAssociatedData,
CK_ULONG ulAssociatedDataLen
CK_OBJECT_HANDLE_PTR phKey

The fix is straightforward.

diff --git a/published/3-02/pkcs11f.h b/published/3-02/pkcs11f.h
index bce18af..bf7ea01 100644
--- a/published/3-02/pkcs11f.h
+++ b/published/3-02/pkcs11f.h
@@ -1321,7 +1321,7 @@ CK_PKCS11_FUNCTION_INFO(C_UnwrapKeyAuthenticated)
   CK_ATTRIBUTE_PTR pTemplate,
   CK_ULONG ulAttributeCount,
   CK_BYTE_PTR pAssociatedData,
-  CK_ULONG ulAssociatedDataLen
+  CK_ULONG ulAssociatedDataLen,
   CK_OBJECT_HANDLE_PTR phKey
 );
 #endif

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions