Closed mdavidsaver closed 1 year ago
For folks reading that don't realize this, the ECA_NORMAL
macro gives the value 1
, not 0
.
I have seen working CA client code that used status *= ca_...();
to combine the status returns from a long string of CA API calls, then checked whether the final result was 1 or not at the end. Not that I'm recommending the technique, but it took advantage of that definition.
Fix incorrect error check on
ca_put()
infdbrestore()
. I guess no one uses this function much...