From 7b08f2566b9a0feee8dfab8b6e96f02e80a152f4 Mon Sep 17 00:00:00 2001 From: Peiwei Hu Date: Tue, 19 Nov 2024 17:19:02 +0800 Subject: [PATCH] Remove the negative return values of EVP_KDF_* functions in documents None of the EVP_KDF_* functions will ever return a negative value. Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/25811) --- doc/man3/EVP_KDF.pod | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/doc/man3/EVP_KDF.pod b/doc/man3/EVP_KDF.pod index 9447651a340..1a5bbb1fcc3 100644 --- a/doc/man3/EVP_KDF.pod +++ b/doc/man3/EVP_KDF.pod @@ -283,9 +283,7 @@ EVP_KDF_get0_name() returns the name of the KDF, or NULL on error. EVP_KDF_names_do_all() returns 1 if the callback was called for all names. A return value of 0 means that the callback was not called for any names. -The remaining functions return 1 for success and 0 or a negative value for -failure. In particular, a return value of -2 indicates the operation is not -supported by the KDF algorithm. +The remaining functions return 1 for success and 0 for failure. =head1 NOTES -- 2.47.2