]> git.ipfire.org Git - thirdparty/openssl.git/commit
doc: fix RSA_set_method return value documentation
authorkovan <xaum.io@gmail.com>
Mon, 2 Feb 2026 14:43:14 +0000 (15:43 +0100)
committerTomas Mraz <tomas@openssl.org>
Thu, 12 Feb 2026 15:18:24 +0000 (16:18 +0100)
commit039baf390e5e6a3ea8cbb564302a4d5cf2cec502
tree158fb943e3cb0852a2afe4cf82755b720ce2f0b0
parentbe42447469dcccc68b7e115c7947e3c25124f3f2
doc: fix RSA_set_method return value documentation

The documentation incorrectly stated that RSA_set_method() returns
a pointer to the old RSA_METHOD. In fact, it returns int (1 for success).
The SYNOPSIS correctly shows 'int RSA_set_method(...)' but the
RETURN VALUES section was wrong.

Fixes #13884

CLA: trivial

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
MergeDate: Thu Feb 12 15:18:38 2026
(Merged from https://github.com/openssl/openssl/pull/29916)
doc/man3/RSA_set_method.pod