Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed warnings and some bugs #165

Closed
wants to merge 8 commits into from

Conversation

frankmorgner
Copy link
Member

still some warnings to go...

Frank Morgner added 8 commits May 25, 2013 04:22
fixes a lot of warnings which pass a const buffer to the APDU's data

Note that a non-const data member is only required for sc_allocate_apdu
sc_free_apdu. They are currently used with an explicit typecast.
However, sc_allocate_apdu and sc_free_apdu both are not used once in the
entire project. One might also simply throw both functions away.
The structures PIN_MODIFY_STRUCTURE and PIN_VERIFY_STRUCTURE now use a
C99 flexible array member when available for abData field.

uint8_t abData[];

See http://lists.alioth.debian.org/pipermail/pcsclite-cvs-commit/2013-May/006191.html
@JenkinsForOpenSC
Copy link

Can one of the admins verify this patch?

@viktorTarasov
Copy link
Member

@JenkinsForOpenSC ok to test

@viktorTarasov
Copy link
Member

Thanks,
a93f025 applied in 32c4704
dce7174 applied in 1a65ed1
14e8da5 applied in a7564d6
b39563c applied in f597a7e

@viktorTarasov
Copy link
Member

344b9fe in e3649fb

@viktorTarasov
Copy link
Member

Major part of b9a742a applied in d218303.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants