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

Restore the functionality of deriving usage flags from X509 certificates in CAC #1038

Merged
merged 2 commits into from
May 2, 2017

Conversation

Jakuje
Copy link
Member

@Jakuje Jakuje commented Apr 25, 2017

Use the correct constants (correct bit order).

The SC_X509_* constants will most probably have some better place in the code. libopensc/pkcs15.h? Ideas welcome.

@Jakuje
Copy link
Member Author

Jakuje commented Apr 25, 2017

We should probably use the same constants in the pkcs15-piv.c after placing them in the common header file to prevent hardcoding of magic numbers in PIV code (see the second commit).

@dengert
Copy link
Member

dengert commented Apr 25, 2017

the pkcs15-piv.c looks good.

@frankmorgner frankmorgner merged commit 427c175 into OpenSC:master May 2, 2017
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