install of openssl 1.1.1b installs old version of libssl and libcrypto
I noticed, that if you install openssl on alpine 3.9 the latest openssl version (1.1.1b-r1) got installed. But the dependencies libcrypto1.1 and libssl1.1 are currently on the older version 1.1.1a.
The “openssl version” command to verify the mistake:
# openssl version
OpenSSL 1.1.1b 26 Feb 2019 (Library: OpenSSL 1.1.1a 20 Nov 2018)
Steps to reproduce and verify:
# docker run -it --rm alpine:3.9 ash
# apk add --no-cache openssl
# openssl version
OpenSSL 1.1.1b 26 Feb 2019 (Library: OpenSSL 1.1.1a 20 Nov 2018)
# strings /lib/libssl.so.1.1 | grep "OpenSSL 1.1.1"
OpenSSL 1.1.1a 20 Nov 2018
strings /lib/libcrypto.so.1.1 | grep "OpenSSL 1.1.1"
OpenSSL 1.1.1a 20 Nov 2018
This problem does not not happen if you install openssl-dev. Then the libcrypto1.1 and libssl1.1 libs got installed in the correct version.
(from redmine: issue id 10163, created on 2019-03-26, closed on 2019-04-09)