Revert previous change that forced consistency between return value and
authorbeck <beck@openbsd.org>
Fri, 28 Apr 2017 23:03:58 +0000 (23:03 +0000)
committerbeck <beck@openbsd.org>
Fri, 28 Apr 2017 23:03:58 +0000 (23:03 +0000)
commit2b413b938e13321123e929825cb9ce290f486ab6
treee2fda1b74a43bbd5d0611467ef077a3affc688e1
parent0a005823a4567ef0752140d8fe858ff08cd589b3
Revert previous change that forced consistency between return value and
error code, since this breaks the documented API. Under certain circumstances
this will result in incorrect successful certiticate verification (where
a user supplied callback always returns 1, and later code checks the error
code to potentially abort post verification)
lib/libcrypto/x509/x509_vfy.c