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 12ae27d commit b5c74a5Copy full SHA for b5c74a5
include/mbedtls/asn1.h
@@ -379,9 +379,12 @@ int mbedtls_asn1_get_bitstring_null( unsigned char **p,
379
* \return 0 if successful.
380
* \return #MBEDTLS_ERR_ASN1_LENGTH_MISMATCH if the input contains
381
* extra data after a valid SEQUENCE OF \p tag.
382
+ * \return #MBEDTLS_ERR_ASN1_UNEXPECTED_TAG if the input starts with
383
+ * an ASN.1 SEQUENCE in which an element has a tag that
384
+ * is different from \p tag.
385
* \return #MBEDTLS_ERR_ASN1_ALLOC_FAILED if a memory allocation failed.
386
* \return An ASN.1 error code if the input does not start with
- * a valid ASN.1 BIT STRING.
387
+ * a valid ASN.1 SEQUENCE.
388
*/
389
int mbedtls_asn1_get_sequence_of( unsigned char **p,
390
const unsigned char *end,
0 commit comments