We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac2e6c0 commit 84a6cc3Copy full SHA for 84a6cc3
include/mbedtls/asn1.h
@@ -359,9 +359,12 @@ int mbedtls_asn1_get_bitstring_null( unsigned char **p,
359
* \return 0 if successful.
360
* \return #MBEDTLS_ERR_ASN1_LENGTH_MISMATCH if the input contains
361
* extra data after a valid SEQUENCE OF \p tag.
362
+ * \return #MBEDTLS_ERR_ASN1_UNEXPECTED_TAG if the input starts with
363
+ * an ASN.1 SEQUENCE in which an element has a tag that
364
+ * is different from \p tag.
365
* \return #MBEDTLS_ERR_ASN1_ALLOC_FAILED if a memory allocation failed.
366
* \return An ASN.1 error code if the input does not start with
- * a valid ASN.1 BIT STRING.
367
+ * a valid ASN.1 SEQUENCE.
368
*/
369
int mbedtls_asn1_get_sequence_of( unsigned char **p,
370
const unsigned char *end,
0 commit comments