aws-samples / aws-cloudhsm-pkcs11-examples

Sample applications demonstrating how to use the CloudHSM PKCS#11 library
Other
55 stars 39 forks source link

Fixing type cast for while loading C_GetFunctionList #69

Open bharsaklemukesh975 opened 1 year ago

bharsaklemukesh975 commented 1 year ago

Fixing type cast while loading C_GetFunctionList . The following compilation was fixed by correcting type cast

aws-cloudhsm-pkcs11-examples/src/common/pkcs11.c:80:15: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype] rv = pFunc(&funcs);