Skip to content
Permalink
Browse files

x509asn1: cleanup and unify code layout

- 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 18, 2019
1 parent 5e1b5e6 commit d8b0318ad6da7e51f7c94df00a5f165a52580889
Showing with 132 additions and 117 deletions.
  1. +132 −117 lib/x509asn1.c

0 comments on commit d8b0318

Please sign in to comment.
You can’t perform that action at this time.