Take away bogus error assignment before callback call.
authorbeck <beck@openbsd.org>
Tue, 28 Jun 2022 16:05:42 +0000 (16:05 +0000)
committerbeck <beck@openbsd.org>
Tue, 28 Jun 2022 16:05:42 +0000 (16:05 +0000)
commite19f76c0058c79feaa9abea5dd0729032c56cb53
treec9e1dcd5f544aff7b61b1e9994d5d3824b6b097a
parent8cff5b1863313dbed3ac3833073196bd9e031eb1
Take away bogus error assignment before callback call.

Keep the depth which was needed.

This went an error too far, and broke openssl-ruby's callback
and error code sensitivity in it's tests.

With this removed, both my newly committed regress to verify
the same error codes and depths in the callback, and
openssl-ruby's tests pass again.

ok tb@
lib/libcrypto/x509/x509_verify.c