Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 May 2024 12:19:14 +0530
From:      Reshad Patuck <reshadpatuck1@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   OpenSSL in base shared object version number is 30
Message-ID:  <CADaJeD3xzC%2B=gBxHQaDgrX8V048ph%2Bo8UUKrhdr97pqAA5gWsQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--000000000000ef2c9806183c2c2e
Content-Type: text/plain; charset="UTF-8"

Hi,

I am running FreeBSD 14.0 and noticed that the shared library version for
OpenSSL seems to be 30 on my system (libcrypto.so.30 and libssl.so.30).
This seems to be in contrast to 3 which is the value of SHLIB_VERSION in
the src repository.
https://gitlab.com/FreeBSD/freebsd-src/-/blob/releng/14.0/crypto/openssl/VERSION.dat?ref_type=heads#L7

Also it seems like when building stock upstream OpenSSL (not from ports or
base) the library versions seem to be 3 (libcrypto.so.3 and libssl.so.3).
This seems to also be the case across multiple Linux distributions that use
OpenSSL 3.

While in my opinion 30 as a version for 3.0.x is better so that we can do
31 for OpenSSL 3.1.x in future versions I can't seem to find where the
value 30 is being generated from.
Any help understanding this will be much appreciated.

Thanks,
Reshad

--000000000000ef2c9806183c2c2e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi,</div><div><br></div><div>I am running FreeBSD 14.=
0 and noticed that the shared library version for OpenSSL seems to be 30 on=
 my system (libcrypto.so.30 and libssl.so.30).</div><div>This seems to be i=
n contrast to 3 which is the value of SHLIB_VERSION in the src repository.<=
/div><div><a href=3D"https://gitlab.com/FreeBSD/freebsd-src/-/blob/releng/1=
4.0/crypto/openssl/VERSION.dat?ref_type=3Dheads#L7">https://gitlab.com/Free=
BSD/freebsd-src/-/blob/releng/14.0/crypto/openssl/VERSION.dat?ref_type=3Dhe=
ads#L7</a> <br></div><div><br></div><div>Also it seems like when building s=
tock upstream OpenSSL (not from ports or base) the library versions seem to=
 be 3 (libcrypto.so.3 and libssl.so.3).</div><div>This seems to also be the=
 case across multiple Linux distributions that use OpenSSL 3.<br></div><div=
><br></div><div>While in my opinion 30 as a version for 3.0.x is better so =
that we can do 31 for OpenSSL 3.1.x in future versions I can&#39;t seem to =
find where the value 30 is being generated from.</div><div>Any help underst=
anding this will be much appreciated.</div><div><br></div><div>Thanks,</div=
><div>Reshad<br></div></div>

--000000000000ef2c9806183c2c2e--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADaJeD3xzC%2B=gBxHQaDgrX8V048ph%2Bo8UUKrhdr97pqAA5gWsQ>