diff options
author | tb <> | 2022-01-05 17:36:32 +0000 |
---|---|---|
committer | tb <> | 2022-01-05 17:36:32 +0000 |
commit | 75b59f2a54d9fb2d74bb1ef9d3d48594ef09f873 (patch) | |
tree | 1411b9537d83751da6656d9720afcbcf72192d33 /src/lib/libcrypto/dsa/dsa_lib.c | |
parent | 5cabdad28dc4f0eff24398d5fda161c2e7862a4a (diff) | |
download | openbsd-75b59f2a54d9fb2d74bb1ef9d3d48594ef09f873.tar.gz openbsd-75b59f2a54d9fb2d74bb1ef9d3d48594ef09f873.tar.bz2 openbsd-75b59f2a54d9fb2d74bb1ef9d3d48594ef09f873.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