diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2018-04-14 07:09:22 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2018-04-14 07:09:22 +0000 |
commit | 364b319f72ecb5c2f1e58716cf073863162c78a8 (patch) | |
tree | e0e394a7d929b9512916d0dd247c4548f2dbc111 /regress/misc/exceptions | |
parent | bd42a3afb2194d71f6df46c3bf36231d249dc9d6 (diff) |
make ENGINE_finish() succeed on NULL and simplify callers as in
OpenSSL commit 7c96dbcdab9 by Rich Salz.
This cleans up the caller side quite a bit and reduces the number of
lines enclosed in #ifndef OPENSSL_NO_ENGINE. codesearch.debian.net
shows that almost nothing checks the return value of ENGINE_finish().
While there, replace a few nearby 'if (!ptr)' with 'if (ptr == NULL)'.
ok jsing, tested by & ok inoguchi
Diffstat (limited to 'regress/misc/exceptions')
0 files changed, 0 insertions, 0 deletions