diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/asn1/f_int.c | 2 | ||||
-rw-r--r-- | crypto/asn1/f_string.c | 2 | ||||
-rw-r--r-- | crypto/x509v3/v3_info.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/crypto/asn1/f_int.c b/crypto/asn1/f_int.c index c2034809da..51fc884b5e 100644 --- a/crypto/asn1/f_int.c +++ b/crypto/asn1/f_int.c @@ -153,7 +153,7 @@ int a2i_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *bs, char *buf, int size) return 0; } -int i2a_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *a) +int i2a_ASN1_ENUMERATED(BIO *bp, const ASN1_ENUMERATED *a) { return i2a_ASN1_INTEGER(bp, a); } diff --git a/crypto/asn1/f_string.c b/crypto/asn1/f_string.c index 0e03139344..b9258bba8b 100644 --- a/crypto/asn1/f_string.c +++ b/crypto/asn1/f_string.c @@ -13,7 +13,7 @@ #include <openssl/buffer.h> #include <openssl/asn1.h> -int i2a_ASN1_STRING(BIO *bp, ASN1_STRING *a, int type) +int i2a_ASN1_STRING(BIO *bp, const ASN1_STRING *a, int type) { int i, n = 0; static const char *h = "0123456789ABCDEF"; diff --git a/crypto/x509v3/v3_info.c b/crypto/x509v3/v3_info.c index bec8c425b0..61ef2138b7 100644 --- a/crypto/x509v3/v3_info.c +++ b/crypto/x509v3/v3_info.c @@ -150,7 +150,7 @@ static AUTHORITY_INFO_ACCESS *v2i_AUTHORITY_INFO_ACCESS(X509V3_EXT_METHOD return NULL; } -int i2a_ACCESS_DESCRIPTION(BIO *bp, ACCESS_DESCRIPTION *a) +int i2a_ACCESS_DESCRIPTION(BIO *bp, const ACCESS_DESCRIPTION *a) { i2a_ASN1_OBJECT(bp, a->method); return 2; |