aboutsummaryrefslogtreecommitdiffstats
path: root/src/crypto/x509.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2015-08-02 16:54:24 +0100
committerMichael Brown <mcb30@ipxe.org>2015-08-02 16:54:24 +0100
commitb1caa48e4bb3f15e7eb749e0c3470436ebff3435 (patch)
tree8ce3bbef596e98c102585672186f3e586dd1c27e /src/crypto/x509.c
parent93370488acb9fedc06527bb0baf89cc2ce82a0a8 (diff)
downloadipxe-b1caa48e4bb3f15e7eb749e0c3470436ebff3435.tar.gz
[crypto] Support SHA-{224,384,512} in X.509 certificates
Add support for SHA-224, SHA-384, and SHA-512 as digest algorithms in X.509 certificates, and allow the choice of public-key, cipher, and digest algorithms to be configured at build time via config/crypto.h. Originally-implemented-by: Tufan Karadere <tufank@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/crypto/x509.c')
-rw-r--r--src/crypto/x509.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/crypto/x509.c b/src/crypto/x509.c
index 00eb226e0..43a4ca17a 100644
--- a/src/crypto/x509.c
+++ b/src/crypto/x509.c
@@ -1771,3 +1771,6 @@ REQUIRING_SYMBOL ( x509_validate );
/* Drag in certificate store */
REQUIRE_OBJECT ( certstore );
+
+/* Drag in crypto configuration */
+REQUIRE_OBJECT ( config_crypto );