Skip to content

Commit

Permalink
Bug 1364469 - Remove dead state check, r=franziskus
Browse files Browse the repository at this point in the history
Summary: This change fixes dead code caught by Coverity after bug 1342137.

Reviewers: franziskus

Reviewed By: franziskus

Differential Revision: https://nss-review.dev.mozaws.net/D318

--HG--
extra : amend_source : ae2ea9a312d180cc9be5fe9306330cc90347d7f5
  • Loading branch information
jcjones committed May 12, 2017
1 parent f367b94 commit 770f500
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/certdb/alg1485.c
Expand Up @@ -430,8 +430,6 @@ ParseRFC1485AVA(PLArenaPool* arena, const char** pbp, const char* endptr)
goto loser;
a = CERT_CreateAVAFromRaw(arena, &derOid, &derVal);
} else {
if (kind == SEC_OID_UNKNOWN && !isDottedOid)
goto loser;
if (kind == SEC_OID_AVA_COUNTRY_NAME && valLen != 2)
goto loser;
if (vt == SEC_ASN1_PRINTABLE_STRING &&
Expand Down

0 comments on commit 770f500

Please sign in to comment.