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.