CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org 2023/04/07 16:18:42
Modified files: regress/lib/libcrypto/bn: bn_test.c Log message: 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