]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix OPENSSL_VERSION_NUMBER to always have zero status bits
authorRichard Levitte <levitte@openssl.org>
Thu, 18 Sep 2025 05:14:13 +0000 (07:14 +0200)
committerRichard Levitte <levitte@openssl.org>
Sat, 20 Sep 2025 07:30:04 +0000 (09:30 +0200)
commitf1fd3d52356fdad065b7e03fb292e8e905dda301
treede4e739db4be2edbc10a407515f12927943e33aa
parenteec456fc7b513ae32e6941f8cb5c0726ea0fbbd4
Fix OPENSSL_VERSION_NUMBER to always have zero status bits

The documentation suggested that they were always zero, while the
implementation in <openssl/opensslv.h> suggested that it could be
0xf in OpenSSL releases...  which (almost) never happened because
of a bug in said implementation.

Therefore, we solidify that the status bits are indeed always zero,
at least in all OpenSSL 3 versions.

Resolves: https://github.com/openssl/project/issues/1621

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28603)

(cherry picked from commit 60c4feacce6faf0e98167dc2ab2a1c2e85882049)
doc/man3/OpenSSL_version.pod
include/openssl/opensslv.h.in