-
Notifications
You must be signed in to change notification settings - Fork 60
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
fix: overflows _Ctype_long on linux x32 #81
Conversation
force go to use ulong on x32 ARCH
Tested this an it appears to still work on amd64. Did you actually test this an confirm it gives the right result on a 32 bit machine? E.g. did you run the following without a smartcard plugged in? go test -v ./piv |
No but i test it with make test without smart card, and under 32 and arm, it worked without any proplem. i use this docker commands to build it |
So this may compile, but does it give the right result? I think you need a smart card and a x32 bit system to determine that. Can you paste the exact command you ran to test this? Did you run a pcscd and run the tests? |
So it's actually a part of other project which it works currently on arm 32x based system, I use it to sign and validate some text, and it works without any problem. There is just one issue on Windows when I try to make more than one request to the YubiKey it tells me that the connection was rested, is this issue known for you? |
i ran
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks! okay yeah I'll merge this
force go to use ulong on x32 ARCH