Add FreeBSD-specific SONAME versions to portable OpenSSL probing.
authorJason Pugsley <jason.pugsley@gmail.com>
Wed, 15 Apr 2020 17:27:14 +0000 (03:27 +1000)
committerGitHub <noreply@github.com>
Wed, 15 Apr 2020 17:27:14 +0000 (10:27 -0700)
commitda6e4bb3899e9c00becf91facd3e5a25127b4049
treeb946b34f88872fff3e285d62fcf14ff20d75517d
parentd8d7471463907e6e78267ba7303ccfe23d25df8c
Add FreeBSD-specific SONAME versions to portable OpenSSL probing.

The version of OpenSSL installed will depend on the version of FreeBSD and
whether OpenSSL has been updated from the FreeBSD Ports collection.

The order of attempted loading is:
    libssl.so.11 (ports)
    libssl.so.111 (base FreeBSD using OpenSSL 1.1.1)
    libssl.so.8 (base FreeBSD using OpenSSL 1.0.2)
src/libraries/Native/Unix/System.Security.Cryptography.Native/opensslshim.c