aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/certstore.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2020-12-15 16:11:34 +0000
committerMichael Brown <mcb30@ipxe.org>2020-12-15 16:54:06 +0000
commitf43a8f8b9f808fb0a8347663abf6efe6908821ed (patch)
tree012d6ffcb49d4c4744e12b8a8cbc207f13d3bf65 /src/include/ipxe/certstore.h
parent6a8664d9ec8010a717855ca92173c63c3c166c4e (diff)
downloadipxe-f43a8f8b9f808fb0a8347663abf6efe6908821ed.tar.gz
[crypto] Allow private key to be specified as a TLS connection parameter
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/certstore.h')
-rw-r--r--src/include/ipxe/certstore.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/ipxe/certstore.h b/src/include/ipxe/certstore.h
index e4c789cfd..ce96666cf 100644
--- a/src/include/ipxe/certstore.h
+++ b/src/include/ipxe/certstore.h
@@ -11,11 +11,12 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#include <ipxe/asn1.h>
#include <ipxe/x509.h>
+#include <ipxe/privkey.h>
extern struct x509_chain certstore;
extern struct x509_certificate * certstore_find ( struct asn1_cursor *raw );
-extern struct x509_certificate * certstore_find_key ( struct asn1_cursor *key );
+extern struct x509_certificate * certstore_find_key ( struct private_key *key );
extern void certstore_add ( struct x509_certificate *cert );
extern void certstore_del ( struct x509_certificate *cert );