|
@@ -455,7 +455,6 @@ static struct interface_descriptor validator_xfer_desc =
|
455
|
455
|
*/
|
456
|
456
|
static void validator_step ( struct validator *validator ) {
|
457
|
457
|
struct x509_link *link;
|
458
|
|
- struct x509_link *previous;
|
459
|
458
|
struct x509_certificate *cert;
|
460
|
459
|
struct x509_certificate *issuer = NULL;
|
461
|
460
|
struct x509_certificate *last;
|
|
@@ -479,7 +478,6 @@ static void validator_step ( struct validator *validator ) {
|
479
|
478
|
list_for_each_entry ( link, &validator->chain->links, list ) {
|
480
|
479
|
cert = issuer;
|
481
|
480
|
issuer = link->cert;
|
482
|
|
- previous = link;
|
483
|
481
|
if ( ! cert )
|
484
|
482
|
continue;
|
485
|
483
|
if ( ! issuer->valid )
|