| Summary: | Tweak OpenSSL ENGINE support to use openssl config system | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Solomon Peachy <pizza> | ||||
| Component: | Miscellaneous | Assignee: | Assigned to nobody <unassigned-bugs> | ||||
| Status: | CLOSED FIXED | ||||||
| Severity: | enhancement | CC: | dtucker | ||||
| Priority: | P2 | ||||||
| Version: | 5.3p1 | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 1626 | ||||||
| Attachments: |
|
||||||
|
Description
Solomon Peachy
2010-01-29 03:52:12 AEDT
Created attachment 1786 [details]
adds call to OPENSSL_config()
I suggested this over in bug #1440 bug I don't have any crypto hardware so I could not test it. Nice to hear it works :-) It looks like OPENSSL_config is not present in all versions of OpenSSL that OpenSSH supports (seems to have bee introduced around 0.9.8) so there will need to be a configure test for it. According to the man page OPENSSL_config() was introduced in v0.9.7, which is also when engine support was merged into the mainline openssl release with its current API. v0.9.6 had an optional engine package, but its API was different and openssh's engine support won't work with it anyway -- the autoconf test will fail. So if the existing autoconf test for --with-ssl-engine succeeds, it means we have openssl 0.9.7 and subsequently support OPENSSL_config(). Well argued :-) This has been applied and will be in the 5.4p1 release. Thanks. With the release of 5.4p1, this bug is now considered closed. |