From 770f50005ac270ae41c8c812b36f891e59fd341a Mon Sep 17 00:00:00 2001 From: "J.C. Jones" Date: Fri, 12 May 2017 09:41:43 -0700 Subject: [PATCH] Bug 1364469 - Remove dead state check, r=franziskus 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 --- lib/certdb/alg1485.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/certdb/alg1485.c b/lib/certdb/alg1485.c index 79598c02c5..38b2fe4b51 100644 --- a/lib/certdb/alg1485.c +++ b/lib/certdb/alg1485.c @@ -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 &&