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

LudovicRousseau / PyKCS11-devel / 15242110181

25 May 2025 09:22PM UTC coverage: 87.561% (+0.7%) from 86.908%
15242110181

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%)

31 existing lines in 1 file now uncovered.

3069 of 3505 relevant lines covered (87.56%)

0.88 hits per line

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

89.9
/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