From 3f65846e67eab675defc3b5a38987919f4c3cdb2 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Thu, 10 Jul 2025 08:07:32 -0400 Subject: [PATCH] Document BAD_FUNC_ARG return value for wc_PKCS7_DecodeEncryptedKeyPackage() --- doc/dox_comments/header_files/pkcs7.h | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/dox_comments/header_files/pkcs7.h b/doc/dox_comments/header_files/pkcs7.h index 30165dd65..be5a75c43 100644 --- a/doc/dox_comments/header_files/pkcs7.h +++ b/doc/dox_comments/header_files/pkcs7.h @@ -675,6 +675,7 @@ int wc_PKCS7_DecodeEncryptedData(PKCS7* pkcs7, byte* pkiMsg, \return On successfully extracting the information from the message, returns the bytes written to output + \return BAD_FUNC_ARG Returned if one of the input parameters is invalid \return ASN_PARSE_E Returned if there is an error parsing the given pkiMsg or if the wrapped content type is EncryptedData and support for EncryptedData is not compiled in (e.g. NO_PKCS7_ENCRYPTED_DATA is set)