diff options
author | Michael Brown <mcb30@ipxe.org> | 2020-12-08 12:30:57 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2020-12-08 12:38:45 +0000 |
commit | e4b6328c84cf3dcbb4af9ba42b2e3cbbb2cfbfee (patch) | |
tree | 62272ccce436c733685c2e76612190a54a89c88c /src/crypto/mishmash/oid_sha512.c | |
parent | e33f5210813d704477eb16b45fbbaec143d8da95 (diff) | |
download | ipxe-e4b6328c84cf3dcbb4af9ba42b2e3cbbb2cfbfee.tar.gz |
[asn1] Rename ASN1_OID_CURSOR to ASN1_CURSOR
There is nothing OID-specific about the ASN1_OID_CURSOR macro. Rename
to allow it to be used for constructing ASN.1 cursors with arbitrary
contents.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/crypto/mishmash/oid_sha512.c')
-rw-r--r-- | src/crypto/mishmash/oid_sha512.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/mishmash/oid_sha512.c b/src/crypto/mishmash/oid_sha512.c index 38e3c1a3d..78bae48b4 100644 --- a/src/crypto/mishmash/oid_sha512.c +++ b/src/crypto/mishmash/oid_sha512.c @@ -33,5 +33,5 @@ static uint8_t oid_sha512[] = { ASN1_OID_SHA512 }; struct asn1_algorithm oid_sha512_algorithm __asn1_algorithm = { .name = "sha512", .digest = &sha512_algorithm, - .oid = ASN1_OID_CURSOR ( oid_sha512 ), + .oid = ASN1_CURSOR ( oid_sha512 ), }; |