diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2015-02-09 15:49:23 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2015-02-09 15:49:23 +0000 |
commit | 6cbf53f9a6696e529e5224265cfa1741775d5cfa (patch) | |
tree | 7e9f6e4f5a2e4ca31dd5118e845b28f43df1db26 /include/utime.h | |
parent | d566de171fae9cff9702bb783eefe844380a4f04 (diff) |
BN_CTX_get() can fail - consistently check its return value.
There are currently cases where the return from each call is checked,
the return from only the last call is checked and cases where it is not
checked at all (including code in bn, ec and engine).
Checking the last return value is valid as once the function fails it will
continue to return NULL. However, in order to be consistent check each
call with the same idiom. This makes it easy to verify.
Note there are still a handful of cases that do not follow the idiom -
these will be handled separately.
ok beck@ doug@
Diffstat (limited to 'include/utime.h')
0 files changed, 0 insertions, 0 deletions