diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2014-08-13 08:21:28 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2014-08-13 08:22:00 +0000 |
commit | a6fa7bfe705ba89b1b2e57f5d1fd358a53934050 (patch) | |
tree | 71cb4cbe61312b4e68362785a88793c8e056e1c1 /main/freeradius3/freeradius-fix-openssl-version-check.patch | |
parent | c966f9bcf0e0944cabae7ea5a228fa3c44634d13 (diff) | |
download | aports-a6fa7bfe705ba89b1b2e57f5d1fd358a53934050.tar.bz2 aports-a6fa7bfe705ba89b1b2e57f5d1fd358a53934050.tar.xz |
main/freeradius3: fix openssl version check
Diffstat (limited to 'main/freeradius3/freeradius-fix-openssl-version-check.patch')
-rw-r--r-- | main/freeradius3/freeradius-fix-openssl-version-check.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main/freeradius3/freeradius-fix-openssl-version-check.patch b/main/freeradius3/freeradius-fix-openssl-version-check.patch new file mode 100644 index 0000000000..e694c51805 --- /dev/null +++ b/main/freeradius3/freeradius-fix-openssl-version-check.patch @@ -0,0 +1,11 @@ +--- a/src/main/version.c ++++ b/src/main/version.c +@@ -48,7 +48,7 @@ + + ssl_linked = SSLeay(); + +- if (ssl_linked != ssl_built) { ++ if (((ssl_linked >> 8) != (ssl_built >> 8)) || (ssl_linked < ssl_built)) { + ERROR("libssl version mismatch. built: %lx linked: %lx", + (unsigned long) ssl_built, + (unsigned long) ssl_linked); |