Bug #781
Setting libstrongswan.dh_exponent_ansi_x9_42 is not working
Start date:
05.12.2014
Due date:
Estimated time:
Affected version:
5.2.1
Resolution:
Fixed
Description
Setting libstrongswan.dh_exponent_ansi_x9_42 is not working.
After some debugging, I've found out that the configured value will always be ignored and the default value (TRUE) will be used.
Changing "lib->settings->get_int()" to "lib->settings->get_bool()" in src/libstrongswan/crypto/diffie_hellman.c will fix it.
History
#1 Updated by Martin Willi almost 11 years ago
- Tracker changed from Issue to Bug
- Status changed from New to Closed
- Assignee set to Martin Willi
- Target version set to 5.2.2
- Resolution set to Fixed
Hi,
Thanks for your bug report. I've addressed this issue with the referenced commit, merged to master.
Seems this type has been used in some locations ever since, and the wrong type has made it into the latest version.
As a work-around, you may also set it to 0
or 1
to have any effect.
Regards
Martin