summaryrefslogtreecommitdiffstats
path: root/crypto/objects/obj_dat.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2018-08-05 16:50:41 +0200
committerAndy Polyakov <appro@openssl.org>2018-08-07 08:56:54 +0200
commit5b37fef04a2b765835361f0652aaa0c41ed1b842 (patch)
tree47677e73f897a8b5921437c53c93070e61dec321 /crypto/objects/obj_dat.c
parentx509/x509name.c: fix potential crash in X509_NAME_get_text_by_OBJ. (diff)
downloadopenssl-5b37fef04a2b765835361f0652aaa0c41ed1b842.tar.xz
openssl-5b37fef04a2b765835361f0652aaa0c41ed1b842.zip
Harmonize use of sk_TYPE_find's return value.
In some cases it's about redundant check for return value, in some cases it's about replacing check for -1 with comparison to 0. Otherwise compiler might generate redundant check for <-1. [Even formatting and readability fixes.] Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6860)
Diffstat (limited to 'crypto/objects/obj_dat.c')
0 files changed, 0 insertions, 0 deletions