]> git.tuebingen.mpg.de Git - paraslash.git/commit
build: Detect openssl library/header mismatch.
authorAndre Noll <maan@tuebingen.mpg.de>
Fri, 21 Dec 2018 15:43:54 +0000 (16:43 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 16 Feb 2019 19:14:44 +0000 (20:14 +0100)
commitddecac81e92694005c8577ea7246caeeefe8361b
tree5aa139bd42b56eed4391c8a19a28d8917f283ac2
parent6a0aa10c781d3535670682c127bb32b91e37bbda
build: Detect openssl library/header mismatch.

This catches the case where openssl-1.0 headers are used for compiling
but openssl-1.1 libraries for linking. Without the check that is added
by this commit the compilation succeeds in this case but the executable
segfaults on the attempt to modify the RSA structure directly. With
the new check, configure fails gracefully.

This happened on a FreeBSD system where the openssl-1.0 headers were
installed in /usr/local and  openssl-1.1 headers in /usr.
configure.ac