From f225d8a1d75a7457e847c86642462a4bb2ea9f9d Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: May 07 2015 20:39:54 +0000 Subject: Remove an unused OID variable Remove an unused OID variable from the routine that builds CRL distribution point extension values. --- diff --git a/src/certext.c b/src/certext.c index c4e741c..a0fdac4 100644 --- a/src/certext.c +++ b/src/certext.c @@ -1463,13 +1463,8 @@ cm_certext_build_crldp(struct cm_store_entry *entry, PLArenaPool *arena, CRLDistributionPoint *value, **values; CERTGeneralName *location; SECItem encoded, *item; - SECOidData *oid; unsigned int i, j, n; - oid = SECOID_FindOIDByTag(SEC_OID_PKIX_OCSP); - if (oid == NULL) { - return NULL; - } for (n = 0; (crldp != NULL) && (crldp[n] != NULL); n++) { continue; }