diff options
author | tb <> | 2022-01-05 17:36:32 +0000 |
---|---|---|
committer | tb <> | 2022-01-05 17:36:32 +0000 |
commit | e8a0049fc103bcd2b160c32d2ef6f8cf4b5fabb9 (patch) | |
tree | 1411b9537d83751da6656d9720afcbcf72192d33 /src/lib/libcrypto/dsa/dsa_lib.c | |
parent | 683b83199edc68b044cc36ab7df024533156279c (diff) | |
download | openbsd-e8a0049fc103bcd2b160c32d2ef6f8cf4b5fabb9.tar.gz openbsd-e8a0049fc103bcd2b160c32d2ef6f8cf4b5fabb9.tar.bz2 openbsd-e8a0049fc103bcd2b160c32d2ef6f8cf4b5fabb9.zip |
Turn the validation_err() macro into a function
validation_err() is an ugly macro with side effects and a goto in it.
At the cost of a few lines of code we can turn this into a function
where the side effects are explicit and ret is now explicitly set in
the main body of addr_validate_path_internal().
We get to a point where it is halfway possible to reason about the
convoluted control flow in this function.
ok inoguchi jsing
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_lib.c')
0 files changed, 0 insertions, 0 deletions