Merge lp:~martin-lp/hipl/n900-build-fix into lp:hipl
Status: | Superseded |
---|---|
Proposed branch: | lp:~martin-lp/hipl/n900-build-fix |
Merge into: | lp:hipl |
Diff against target: |
24 lines (+6/-1) 1 file modified
test/lib/core/hostid.c (+6/-1) |
To merge this branch: | bzr merge lp:~martin-lp/hipl/n900-build-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
HIPL core team | Pending | ||
Review via email: mp+76570@code.launchpad.net |
This proposal has been superseded by a proposal from 2011-10-07.
Description of the change
In short:
One of the recently added unit tests breaks on the N900 and its scratchbox
environment. As a result the deb package build fails. This branch introduces
a hack to skip the troublesome part of the test.
In longer:
The problem lies with the RSA key generation. For whatever reason
RSA_generate_key() dies ungracefully (or is aborted ungracefully)
when it is supposed to create keys with more than 1024 bits.
The output looks like this:
debug(test/
debug(lib/
debug(lib/
Killed
Some research on google and gdb haven't really helped find the
source of the problem or a possible solution. As a workaround
this branch simply skips creating keys greater than 1024 bit.
Purpose of the review:
Is using this define a good way to handle this? Anybody know what the problem
is on the platform and the key generation? Any better way to deal with this?
Please show the "backtrace" of gdb.