summaryrefslogtreecommitdiffstats
path: root/src/crypto/crypto_null.c
diff options
context:
space:
mode:
authorMichael Brown2025-12-01 15:47:51 +0100
committerMichael Brown2025-12-01 15:50:54 +0100
commit8cd963ab9657d3b14ad36a37a73522fc91415c90 (patch)
tree752b1ee06afbd20ddd7c533b3474d2311013a1d4 /src/crypto/crypto_null.c
parent[crypto] Restructure handling of ASN.1 bit strings (diff)
downloadipxe-8cd963ab9657d3b14ad36a37a73522fc91415c90.tar.gz
ipxe-8cd963ab9657d3b14ad36a37a73522fc91415c90.tar.xz
ipxe-8cd963ab9657d3b14ad36a37a73522fc91415c90.zip
[crypto] Pass signatures for verification as ASN.1 cursors
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, 1 insertions, 2 deletions
diff --git a/src/crypto/crypto_null.c b/src/crypto/crypto_null.c
index d5863f958..ca4e1b134 100644
--- a/src/crypto/crypto_null.c
+++ b/src/crypto/crypto_null.c
@@ -120,8 +120,7 @@ int pubkey_null_sign ( const struct asn1_cursor *key __unused,
int pubkey_null_verify ( const struct asn1_cursor *key __unused,
struct digest_algorithm *digest __unused,
const void *value __unused,
- const void *signature __unused ,
- size_t signature_len __unused ) {
+ const struct asn1_cursor *signature __unused ) {
return 0;
}