Ticket #159 (closed defect: fixed)
Patch: Fix configure check for OpenSSL version
| Reported by: | markdoliner | Owned by: | smoku |
|---|---|---|---|
| Priority: | major | Component: | General |
| Version: | 2.1.17 | Keywords: | |
| Cc: | Tracforge_linkmap: | ||
| Blocking: | Blocked By: |
Description
configure.ac contains an AC_LANG_PROGRAM call that attempts to compile a basic openssl program and check that the version is new enough. It uses the SSLeay() function for this. The program includes the header <openssl/opensslv.h> for this, however all the evidence that I find says that this function is in <openssl/crypto.h>.
I checked the man page, I checked the header files in openssl-0.9.6b (downloaded from their web site), and I checked the header files in openssl-0.9.8c (installed on my system). I'm not sure how this works for other people... unless for some reason your opensslv.h includes crypto.h?
In any case, I believe the attached patch will work for everyone.