mirror of
https://github.com/xcat2/xNBA.git
synced 2025-02-11 16:23:47 +00:00
[crypto] Fix unused-but-set variable warning
Reported-by: Brandon Penglase <bpenglase-ipxe@spaceservices.net> Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
658c25aa82
commit
5af9ad51c8
@ -455,7 +455,6 @@ static struct interface_descriptor validator_xfer_desc =
|
||||
*/
|
||||
static void validator_step ( struct validator *validator ) {
|
||||
struct x509_link *link;
|
||||
struct x509_link *previous;
|
||||
struct x509_certificate *cert;
|
||||
struct x509_certificate *issuer = NULL;
|
||||
struct x509_certificate *last;
|
||||
@ -479,7 +478,6 @@ static void validator_step ( struct validator *validator ) {
|
||||
list_for_each_entry ( link, &validator->chain->links, list ) {
|
||||
cert = issuer;
|
||||
issuer = link->cert;
|
||||
previous = link;
|
||||
if ( ! cert )
|
||||
continue;
|
||||
if ( ! issuer->valid )
|
||||
|
Loading…
x
Reference in New Issue
Block a user