-
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
test_cjose_concatkdf_derive_* fail on big endian architectures (s390x, powerpc, ppc64, sparc64, ...) #70
Comments
@moschlar Re-reviewing the code with #38 in mind, the possible problem points I see are:
As with last time, we don't have a big-endian environment to troubleshoot and test on, so any assistance with or access to such an environment would be valuable. |
Ah yes, it seems to be called with
I'll see if I can somehow access such an environment to test it (cc @christmart). Could you maybe think of a simple way to fix these three occurences? |
(finally returning from holiday ... ) Thanks @moschlar. The protocol expects a |
The Debian architecture builds are now working, too! :-) |
The tests
test_cjose_concatkdf_derive_*
fail on big endian architectures like s390x, powerpc, ppc64, sparc64, ...:Maybe this is something similar to #38 where some bad casts were the source of the problem that go unnoticed on little endian, but make it fail on big endian.
However, I did not find something at a quick glance (except from the fact that
&err
gets used in both function calls there, is not nulled inbetween and is not checked - maybe that would help debugging).cjose/test/check_concatkdf.c
Lines 149 to 150 in 1250eff
More details and complete build logs can be found on the respective Debian Buildd page:
https://buildd.debian.org/status/package.php?p=cjose
There is also a Debian bug report tracking the issue:
https://bugs.debian.org/890907
The text was updated successfully, but these errors were encountered: