Try to load several variants of libssl.

Use internal variant of SHA1.

closes #405