]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix cipher protocol ID type in docs
authorGrzesiek11 <grzesiek11@stary.pc.pl>
Thu, 11 Sep 2025 15:13:48 +0000 (17:13 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 18 Sep 2025 15:29:23 +0000 (17:29 +0200)
commitc3d6b57cb761a0c10c1b46b78b65b1918dace8f7
tree41a53a386b6f11e0241fca7f37128d521e93ecbb
parenta55866852a641bed0d366a12a1898a6ba67bd091
Fix cipher protocol ID type in docs

The cipher protocol ID, the return type of SSL_CIPHER_get_protocol_id,
is uint16_t and correctly described in docs to be 2 bytes, however the
function signature on the same page incorrectly pointed to it being
uint32_t, which is 4 bytes.

CLA: trivial

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/28523)

(cherry picked from commit 9bdf93776d741726895e6a42ffebd63366296e94)
doc/man3/SSL_CIPHER_get_name.pod