Commit 4bcdb4a6 authored by Matt Caswell's avatar Matt Caswell
Browse files

Check libssl function returns



Mark most functions returning a result defined in any libssl header file
with __owur to warn if they are used without checking the return value.
Use -DUNUSED_RETURN compiler flag with gcc to activate these warnings.
Some functions returning a result are skipped if it is common and valid to
use these functions without checking the return value.

Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
parent 913f1042
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment