summaryrefslogtreecommitdiffstats
path: root/src/crypto/crypto_null.c
diff options
context:
space:
mode:
authorMichael Brown2025-12-01 17:02:54 +0100
committerMichael Brown2025-12-01 17:02:54 +0100
commitd4258272c679c8bd42430fc2df57402cdc03d711 (patch)
treea3f9c691fce786a9e70aa696e9665cf68b28728c /src/crypto/crypto_null.c
parent[crypto] Pass signatures for verification as ASN.1 cursors (diff)
downloadipxe-d4258272c679c8bd42430fc2df57402cdc03d711.tar.gz
ipxe-d4258272c679c8bd42430fc2df57402cdc03d711.tar.xz
ipxe-d4258272c679c8bd42430fc2df57402cdc03d711.zip
[crypto] Construct signatures using ASN.1 builders
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/crypto/crypto_null.c')
-rw-r--r--src/crypto/crypto_null.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crypto/crypto_null.c b/src/crypto/crypto_null.c
index ca4e1b134..ee948e00d 100644
--- a/src/crypto/crypto_null.c
+++ b/src/crypto/crypto_null.c
@@ -113,7 +113,8 @@ int pubkey_null_decrypt ( const struct asn1_cursor *key __unused,
int pubkey_null_sign ( const struct asn1_cursor *key __unused,
struct digest_algorithm *digest __unused,
- const void *value __unused, void *signature __unused ) {
+ const void *value __unused,
+ struct asn1_builder *signature __unused ) {
return 0;
}