diff options
author | Rich Salz <rsalz@akamai.com> | 2015-05-06 20:56:14 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-05-07 04:37:53 +0200 |
commit | 86885c289580066792415218754bd935b449f170 (patch) | |
tree | 8cab1bdeb50bfee21ce6677d9150c8d385379321 /crypto/x509v3/v3_asid.c | |
parent | Digest cached records if not sending a certificate. (diff) | |
download | openssl-86885c289580066792415218754bd935b449f170.tar.xz openssl-86885c289580066792415218754bd935b449f170.zip |
Use "==0" instead of "!strcmp" etc
For the various string-compare routines (strcmp, strcasecmp, str.*cmp)
use "strcmp()==0" instead of "!strcmp()"
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'crypto/x509v3/v3_asid.c')
-rw-r--r-- | crypto/x509v3/v3_asid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509v3/v3_asid.c b/crypto/x509v3/v3_asid.c index 26ca15844b..c5e569405f 100644 --- a/crypto/x509v3/v3_asid.c +++ b/crypto/x509v3/v3_asid.c @@ -572,7 +572,7 @@ static void *v2i_ASIdentifiers(const struct v3_ext_method *method, /* * Handle inheritance. */ - if (!strcmp(val->value, "inherit")) { + if (strcmp(val->value, "inherit") == 0) { if (v3_asid_add_inherit(asid, which)) continue; X509V3err(X509V3_F_V2I_ASIDENTIFIERS, |