summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/evp/p_lib.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2018-05-12 17:44:31 +0000
committerjsing <jsing@openbsd.org>2018-05-12 17:44:31 +0000
commit764fbd16b5dc47982af6769ad9ba148ef2fc072b (patch)
tree3413e1802ff227c97a4ac39ad3c734f67277af2e /lib/libcrypto/evp/p_lib.c
parentAdd a missing bounds check in c2i_ASN1_BIT_STRING(). (diff)
downloadwireguard-openbsd-764fbd16b5dc47982af6769ad9ba148ef2fc072b.tar.xz
wireguard-openbsd-764fbd16b5dc47982af6769ad9ba148ef2fc072b.zip
Cleanup c2i_ASN1_BIT_STRING() code.
Avoid overloading a variable to store both a value and an error code - we can simply inline the error calls (as done everywhere else). Remove a bunch of unnecessary parentheses and tidy a few other things. With input from tb@. ok inoguchi@ tb@
Diffstat (limited to 'lib/libcrypto/evp/p_lib.c')
0 files changed, 0 insertions, 0 deletions