mirror of
https://github.com/openssl/openssl.git
synced 2025-01-25 03:13:59 +08:00
Constify where needed
This commit is contained in:
parent
63461b8db1
commit
2e6a7b3efc
@ -234,7 +234,7 @@ static int i2r_IPAddressOrRanges(BIO *out,
|
||||
/*
|
||||
* i2r handler for an IPAddrBlocks extension.
|
||||
*/
|
||||
static int i2r_IPAddrBlocks(X509V3_EXT_METHOD *method,
|
||||
static int i2r_IPAddrBlocks(const X509V3_EXT_METHOD *method,
|
||||
void *ext,
|
||||
BIO *out,
|
||||
int indent)
|
||||
@ -886,7 +886,7 @@ int v3_addr_canonize(IPAddrBlocks *addr)
|
||||
/*
|
||||
* v2i handler for the IPAddrBlocks extension.
|
||||
*/
|
||||
static void *v2i_IPAddrBlocks(struct v3_ext_method *method,
|
||||
static void *v2i_IPAddrBlocks(const struct v3_ext_method *method,
|
||||
struct v3_ext_ctx *ctx,
|
||||
STACK_OF(CONF_VALUE) *values)
|
||||
{
|
||||
|
@ -152,7 +152,7 @@ static int i2r_ASIdentifierChoice(BIO *out,
|
||||
/*
|
||||
* i2r method for an ASIdentifier extension.
|
||||
*/
|
||||
static int i2r_ASIdentifiers(X509V3_EXT_METHOD *method,
|
||||
static int i2r_ASIdentifiers(const X509V3_EXT_METHOD *method,
|
||||
void *ext,
|
||||
BIO *out,
|
||||
int indent)
|
||||
@ -495,7 +495,7 @@ int v3_asid_canonize(ASIdentifiers *asid)
|
||||
/*
|
||||
* v2i method for an ASIdentifier extension.
|
||||
*/
|
||||
static void *v2i_ASIdentifiers(struct v3_ext_method *method,
|
||||
static void *v2i_ASIdentifiers(const struct v3_ext_method *method,
|
||||
struct v3_ext_ctx *ctx,
|
||||
STACK_OF(CONF_VALUE) *values)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user