From 2317f7f9a118c771aec4ce38f46cc6fc49804442 Mon Sep 17 00:00:00 2001 From: Dave Rodgman Date: Tue, 18 May 2021 18:59:37 +0100 Subject: [PATCH] Fix docs for mbedtls_padlock_has_support Fix a slight inaccuracy in the docs for the return value of mbedtls_padlock_has_support. Signed-off-by: Dave Rodgman --- include/mbedtls/padlock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mbedtls/padlock.h b/include/mbedtls/padlock.h index d8246e2cd0..0e4a6bbf69 100644 --- a/include/mbedtls/padlock.h +++ b/include/mbedtls/padlock.h @@ -98,7 +98,7 @@ extern "C" { * * \param feature The feature to detect * - * \return 1 if CPU has support for the feature, 0 otherwise + * \return non-zero if CPU has support for the feature, 0 otherwise */ int mbedtls_padlock_has_support( int feature );