]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Remove the negative return values of EVP_KDF_* functions in documents
authorPeiwei Hu <jlu.hpw@foxmail.com>
Tue, 19 Nov 2024 09:19:02 +0000 (17:19 +0800)
committerTomas Mraz <tomas@openssl.org>
Fri, 22 Nov 2024 11:11:34 +0000 (12:11 +0100)
None of the EVP_KDF_* functions will ever return a negative value.

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25811)

doc/man3/EVP_KDF.pod

index 9447651a340e44acfdaba3284beb3054a2de2d0a..1a5bbb1fcc37c39733398031924f5bf46b072d27 100644 (file)
@@ -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