mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Doxygen documentation added to asn1write.h
This commit is contained in:
parent
f3df61ad10
commit
7accbced87
2 changed files with 142 additions and 3 deletions
|
|
@ -142,7 +142,7 @@ int asn1_write_oid( unsigned char **p, unsigned char *start, const char *oid )
|
|||
}
|
||||
|
||||
int asn1_write_algorithm_identifier( unsigned char **p, unsigned char *start,
|
||||
const char *algorithm_oid )
|
||||
const char *oid )
|
||||
{
|
||||
int ret;
|
||||
size_t null_len = 0;
|
||||
|
|
@ -155,7 +155,7 @@ int asn1_write_algorithm_identifier( unsigned char **p, unsigned char *start,
|
|||
|
||||
// Write OID
|
||||
//
|
||||
ASN1_CHK_ADD( oid_len, asn1_write_oid( p, start, algorithm_oid ) );
|
||||
ASN1_CHK_ADD( oid_len, asn1_write_oid( p, start, oid ) );
|
||||
|
||||
len = oid_len + null_len;
|
||||
ASN1_CHK_ADD( len, asn1_write_len( p, start, oid_len + null_len ) );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue