]> 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:27:41 +0000 (09:27 +0200)
commitbe0013641917730dc7ea4a769731d0e083796164
tree5c76f44080ed7321eb9ab2bf1550b3f949417fe0
parent1a134d1e35a0b7b465971e104cb81cfdd2e45b20
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