Ticket #11 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Cannot compile with the stable pcsc-lite 1.2.0

Reported by: ville.skytta@… Owned by: somebody
Priority: normal Milestone: milestone1
Component: component1 Version: 1.0
Severity: normal Keywords:
Cc:

Description

pam_pkcs11 0.5.3 does not compile with the current stable pcsc-lite 1.2.0; it doesn't define LPTSTR in wintypes.h. Will attach a fix that might not be pretty for pcsc-lite >= 1.2.9, but should work with both 1.2.0 and 1.2.9*.

Attachments

pam_pkcs11-0.5.3-pcsc120.patch Download (400 bytes) - added by ville.skytta@… 4 years ago.
Fix compilation with pcsc-lite 1.2.0

Change History

Changed 4 years ago by ville.skytta@…

Fix compilation with pcsc-lite 1.2.0

Changed 4 years ago by ludovic

  • status changed from new to closed
  • resolution set to fixed

A better patch is to use the deprecated LPSTR instead of LPTSTR. I did this change.

This change should be reverted when pcsc-lite 1.3.0 is out and massively used.

Note: See TracTickets for help on using tickets.