• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

LudovicRousseau / PyKCS11-devel / 15171180450

21 May 2025 07:44PM UTC coverage: 87.25% (+0.7%) from 86.582%
15171180450

push

github

LudovicRousseau
Fix issue with vendor defined mechanisms

On Windows the long type is 32 bits while it is 64 bits on Unix.
Windows is LLP64 while Unix is LP64.
See https://en.wikipedia.org/wiki/64-bit_computing#64-bit_data_models

So the value CKM_VENDOR_DEFINED defined as 0x80000000 is a negative
number.

We now use "unsigned long" instead of "long" to always have positive
numbers. It is also the correct type defined by PKCS#11.

15 of 15 new or added lines in 2 files covered. (100.0%)

34 existing lines in 1 file now uncovered.

2963 of 3396 relevant lines covered (87.25%)

0.87 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

89.57
/PyKCS11/LowLevel.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc