mirror of
https://github.com/ipxe/ipxe
synced 2025-12-22 21:11:03 +03:00
[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>
This commit is contained in:
@@ -33,5 +33,5 @@ static uint8_t oid_sha384[] = { ASN1_OID_SHA384 };
|
||||
struct asn1_algorithm oid_sha384_algorithm __asn1_algorithm = {
|
||||
.name = "sha384",
|
||||
.digest = &sha384_algorithm,
|
||||
.oid = ASN1_OID_CURSOR ( oid_sha384 ),
|
||||
.oid = ASN1_CURSOR ( oid_sha384 ),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user