summaryrefslogtreecommitdiffstats
path: root/src/crypto
diff options
context:
space:
mode:
authorMichael Brown2013-12-05 13:38:51 +0100
committerMichael Brown2013-12-05 13:43:28 +0100
commitb0942534eb773915d3cb4e3d63354e5fddf5c0c7 (patch)
treedaded81f513f3ef5fbe061d509f4a923beb7a762 /src/crypto
parent[dhcpv6] Use DUID-UUID form of client DUID (diff)
downloadipxe-b0942534eb773915d3cb4e3d63354e5fddf5c0c7.tar.gz
ipxe-b0942534eb773915d3cb4e3d63354e5fddf5c0c7.tar.xz
ipxe-b0942534eb773915d3cb4e3d63354e5fddf5c0c7.zip
[settings] Force settings into alphabetical order within sections
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/clientcert.c4
-rw-r--r--src/crypto/rootcert.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/crypto/clientcert.c b/src/crypto/clientcert.c
index b09c880a..3a662865 100644
--- a/src/crypto/clientcert.c
+++ b/src/crypto/clientcert.c
@@ -92,7 +92,7 @@ struct client_private_key client_private_key = {
};
/** Client certificate setting */
-static struct setting cert_setting __setting ( SETTING_CRYPTO ) = {
+static struct setting cert_setting __setting ( SETTING_CRYPTO, cert ) = {
.name = "cert",
.description = "Client certificate",
.tag = DHCP_EB_CERT,
@@ -100,7 +100,7 @@ static struct setting cert_setting __setting ( SETTING_CRYPTO ) = {
};
/** Client private key setting */
-static struct setting privkey_setting __setting ( SETTING_CRYPTO ) = {
+static struct setting privkey_setting __setting ( SETTING_CRYPTO, privkey ) = {
.name = "privkey",
.description = "Client private key",
.tag = DHCP_EB_KEY,
diff --git a/src/crypto/rootcert.c b/src/crypto/rootcert.c
index cfeabb81..ae28905a 100644
--- a/src/crypto/rootcert.c
+++ b/src/crypto/rootcert.c
@@ -58,7 +58,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
static const uint8_t fingerprints[] = { TRUSTED };
/** Root certificate fingerprint setting */
-static struct setting trust_setting __setting ( SETTING_CRYPTO ) = {
+static struct setting trust_setting __setting ( SETTING_CRYPTO, trust ) = {
.name = "trust",
.description = "Trusted root certificate fingerprints",
.tag = DHCP_EB_TRUST,