Skip to content

Conversation

ueno
Copy link
Member

@ueno ueno commented May 27, 2018

Fixes #159.

@ueno ueno force-pushed the wip/dueno/pkcs11-gnu branch from 409cc68 to f328b4b Compare May 27, 2018 07:58
@nmav nmav self-requested a review May 27, 2018 13:53
Copy link
Contributor

@nmav nmav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

#include <p11-kit/p11-kit.h>
#include <p11-kit/iter.h>
#include <p11-kit/pin.h>
#include <p11-kit/uri.h>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering whether the compiler could ignore some type errors if the code is not used. nevertheless this seems to catch the existing issue.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added references to the defined symbols so that the declarations are actually used.
Also this file is split into 3 (generated): iter.gnu.c, pin.gnu.c, and uri.gnu.c, so that the type declarations in other files do not take effect.

@ueno ueno force-pushed the wip/dueno/pkcs11-gnu branch 2 times, most recently from 2e695db to 4b7e6e8 Compare May 28, 2018 11:10
@ueno ueno force-pushed the wip/dueno/pkcs11-gnu branch from 4b7e6e8 to db92b71 Compare May 28, 2018 11:13
@ueno ueno merged commit cd0a2de into p11-glue:master May 28, 2018
@ueno ueno added the bug label May 28, 2018
@ueno ueno added this to the 0.23.12 milestone May 28, 2018
@ueno ueno deleted the wip/dueno/pkcs11-gnu branch June 25, 2018 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants