openca / libpki

Easy-to-use high-level library for PKI-enabled applications
Other
50 stars 34 forks source link

Fixed invalid type of argument for HSM_PKCS11_set_attr_int() #7

Closed a157634 closed 8 years ago

a157634 commented 9 years ago

Changed from "int" to "CK_ULONG". This fixes problems on 64bit targets due to different size of int (4 bytes) to unsigned long (8 bytes).