From e4b6328c84cf3dcbb4af9ba42b2e3cbbb2cfbfee Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 8 Dec 2020 12:30:57 +0000 Subject: [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 --- src/crypto/cms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crypto/cms.c') diff --git a/src/crypto/cms.c b/src/crypto/cms.c index bc2148e8a..9511cec8a 100644 --- a/src/crypto/cms.c +++ b/src/crypto/cms.c @@ -76,7 +76,7 @@ static uint8_t oid_signeddata[] = { ASN1_OID_SIGNEDDATA }; /** "pkcs7-signedData" object identifier cursor */ static struct asn1_cursor oid_signeddata_cursor = - ASN1_OID_CURSOR ( oid_signeddata ); + ASN1_CURSOR ( oid_signeddata ); /** * Parse CMS signature content type -- cgit v1.2.3-55-g7522