summaryrefslogtreecommitdiffstats
path: root/src/crypto
diff options
context:
space:
mode:
authorMichael Brown2019-01-25 15:53:43 +0100
committerMichael Brown2019-01-25 15:53:43 +0100
commit36a4c85f911c85f5ab183331ff74d125f9a9ed32 (patch)
tree2954c7b32d75848821bd361c40432544e7d4a84a /src/crypto
parent[util] Add support for EFI ROM images (diff)
downloadipxe-36a4c85f911c85f5ab183331ff74d125f9a9ed32.tar.gz
ipxe-36a4c85f911c85f5ab183331ff74d125f9a9ed32.tar.xz
ipxe-36a4c85f911c85f5ab183331ff74d125f9a9ed32.zip
[init] Show startup and shutdown function names in debug messages
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/rbg.c1
-rw-r--r--src/crypto/rootcert.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/crypto/rbg.c b/src/crypto/rbg.c
index a5a77e3c..4b45b347 100644
--- a/src/crypto/rbg.c
+++ b/src/crypto/rbg.c
@@ -126,6 +126,7 @@ static void rbg_shutdown_fn ( int booting __unused ) {
/** RBG startup table entry */
struct startup_fn startup_rbg __startup_fn ( STARTUP_NORMAL ) = {
+ .name = "rbg",
.startup = rbg_startup_fn,
.shutdown = rbg_shutdown_fn,
};
diff --git a/src/crypto/rootcert.c b/src/crypto/rootcert.c
index f7b9dcfb..867ff50e 100644
--- a/src/crypto/rootcert.c
+++ b/src/crypto/rootcert.c
@@ -123,5 +123,6 @@ static void rootcert_init ( void ) {
/** Root certificate initialiser */
struct startup_fn rootcert_startup_fn __startup_fn ( STARTUP_LATE ) = {
+ .name = "rootcert",
.startup = rootcert_init,
};