Skip to content

Commit

Permalink
x509asn1: cleanup and unify code layout
Browse files Browse the repository at this point in the history
- rename 'n' to buflen in functions, and use size_t for them. Don't pass
  in negative buffer lengths.

- move most function comments to above the function starts like we use
  to

- remove several unnecessary typecasts (especially of NULL)

Reviewed-by: Patrick Monnerat
Closes #3582
  • Loading branch information
bagder committed Feb 19, 2019
1 parent 5e1b5e6 commit d8b0318
Showing 1 changed file with 132 additions and 117 deletions.
Loading

0 comments on commit d8b0318

Please sign in to comment.