From 638e4f9b1442547b8847e1f03dd2903f1eedb08b Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 30 Jan 2026 14:33:33 +0000 Subject: EVP_SealInit.3: fix RETURN VALUES section While normal calls return 0 for error and npubk for success, there is a case where it returns the usual 1/0 thing. Make that explicit. Prompted by a report by Niels Dossche ok jsing kenjiro --- src/lib/libcrypto/man/EVP_SealInit.3 | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/man/EVP_SealInit.3 b/src/lib/libcrypto/man/EVP_SealInit.3 index f211702ba6..cae0a55ec2 100644 --- a/src/lib/libcrypto/man/EVP_SealInit.3 +++ b/src/lib/libcrypto/man/EVP_SealInit.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: EVP_SealInit.3,v 1.10 2025/06/08 22:40:29 schwarze Exp $ +.\" $OpenBSD: EVP_SealInit.3,v 1.11 2026/01/30 14:33:33 tb Exp $ .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 .\" .\" This file was written by Dr. Stephen Henson . @@ -49,7 +49,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 8 2025 $ +.Dd $Mdocdate: January 30 2026 $ .Dt EVP_SEALINIT 3 .Os .Sh NAME @@ -168,9 +168,19 @@ set to NULL. is implemented as a macro. .Sh RETURN VALUES .Fn EVP_SealInit +usually returns 0 on error or .Fa npubk if successful. +If +.Fn EVP_SealInit +is called with +.Fa npubk +set to 0 or with +.Fa pubk +set to +.Dv NULL , +it returns 1 for success and 0 for failure. .Pp .Fn EVP_SealUpdate and -- cgit v1.2.3-55-g6feb