diff options
author | tb <> | 2023-04-07 22:18:42 +0000 |
---|---|---|
committer | tb <> | 2023-04-07 22:18:42 +0000 |
commit | e84247a0f89e9fd10bd22697e23ceb2ed8d8835b (patch) | |
tree | abe8c39392f60cafe4cdee922278974f1810d3fa /src/lib | |
parent | e22e6ed0722dbf0f2df6bd5a19f5d54bab0b8254 (diff) | |
download | openbsd-e84247a0f89e9fd10bd22697e23ceb2ed8d8835b.tar.gz openbsd-e84247a0f89e9fd10bd22697e23ceb2ed8d8835b.tar.bz2 openbsd-e84247a0f89e9fd10bd22697e23ceb2ed8d8835b.zip |
bn_test: handle rc consistently
Various test functions had bugs due to the fact that the return code
would be set to 1 at the top so that each error would have to set rc = 0.
This is silly. Fail closed instead by setting rc = 0 at the top and only
flipping to 1 before the err label
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions