Skip to content

Commit 3f65846

Browse files
Document BAD_FUNC_ARG return value for wc_PKCS7_DecodeEncryptedKeyPackage()
1 parent c83a452 commit 3f65846

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • doc/dox_comments/header_files

doc/dox_comments/header_files/pkcs7.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -675,6 +675,7 @@ int wc_PKCS7_DecodeEncryptedData(PKCS7* pkcs7, byte* pkiMsg,
675675
676676
\return On successfully extracting the information from the message,
677677
returns the bytes written to output
678+
\return BAD_FUNC_ARG Returned if one of the input parameters is invalid
678679
\return ASN_PARSE_E Returned if there is an error parsing the given pkiMsg
679680
or if the wrapped content type is EncryptedData and support for
680681
EncryptedData is not compiled in (e.g. NO_PKCS7_ENCRYPTED_DATA is set)

0 commit comments

Comments
 (0)