aboutsummaryrefslogtreecommitdiffstats
path: root/src/crypto/certstore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/certstore.c')
-rw-r--r--src/crypto/certstore.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/crypto/certstore.c b/src/crypto/certstore.c
index f8ddbd3d7..31797c4cd 100644
--- a/src/crypto/certstore.c
+++ b/src/crypto/certstore.c
@@ -72,16 +72,16 @@ static struct x509_certificate certstore_certs[ sizeof ( certstore_raw ) /
/**
* Mark stored certificate as most recently used
*
- * @v certs X.509 certificate list
+ * @v store Certificate store
* @v cert X.509 certificate
*/
-static void certstore_found ( struct x509_chain *certs,
+static void certstore_found ( struct x509_chain *store,
struct x509_certificate *cert ) {
/* Mark as most recently used */
list_del ( &cert->store.list );
- list_add ( &cert->store.list, &certs->links );
- DBGC2 ( certs, "CERTSTORE found certificate %s\n",
+ list_add ( &cert->store.list, &store->links );
+ DBGC2 ( store, "CERTSTORE found certificate %s\n",
x509_name ( cert ) );
}