aboutsummaryrefslogtreecommitdiffstats
path: root/src/crypto
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2019-01-25 14:53:43 +0000
committerMichael Brown <mcb30@ipxe.org>2019-01-25 14:53:43 +0000
commit36a4c85f911c85f5ab183331ff74d125f9a9ed32 (patch)
tree2954c7b32d75848821bd361c40432544e7d4a84a /src/crypto
parentde4565cbe76ea9f7913a01f331be3ee901bb6e17 (diff)
downloadipxe-36a4c85f911c85f5ab183331ff74d125f9a9ed32.tar.gz
[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 a5a77e3cd..4b45b3474 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 f7b9dcfb7..867ff50e8 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,
};