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/ocsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crypto/ocsp.c') diff --git a/src/crypto/ocsp.c b/src/crypto/ocsp.c index 9ced59ea3..51dc939e8 100644 --- a/src/crypto/ocsp.c +++ b/src/crypto/ocsp.c @@ -116,7 +116,7 @@ static const uint8_t oid_basic_response_type[] = { ASN1_OID_OCSP_BASIC }; /** OCSP basic response type cursor */ static struct asn1_cursor oid_basic_response_type_cursor = - ASN1_OID_CURSOR ( oid_basic_response_type ); + ASN1_CURSOR ( oid_basic_response_type ); /** * Free OCSP check -- cgit v1.2.3-55-g7522