]> 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:29:25 +0000 (09:29 +0200)
commitd78fc81d8fb7d4d0ab4a5d434be74b5e858f1180
tree7967ca8e999b8432cfb5212733cbf714ee1baad9
parent7be0b5cc8ab70cd106de6d10a471be5914afc144
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