diff options
author | Nils Larsch <nils@openssl.org> | 2005-05-18 22:30:38 +0000 |
---|---|---|
committer | Nils Larsch <nils@openssl.org> | 2005-05-18 22:30:38 +0000 |
commit | 67ffa18cceb3fafcf1a19d8e607fc9c1e8213e9d (patch) | |
tree | 4bf441d656fde38ade5e259142ea6408a97263d8 /crypto/asn1/asn1.h | |
parent | 788e67e227106454a2fb708b94b030883a8a10c2 (diff) |
make the type parameter const when ID2_OF_const() is used
Diffstat (limited to 'crypto/asn1/asn1.h')
-rw-r--r-- | crypto/asn1/asn1.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/asn1.h b/crypto/asn1/asn1.h index f111e6fba8..dadcae8bd7 100644 --- a/crypto/asn1/asn1.h +++ b/crypto/asn1/asn1.h @@ -932,7 +932,7 @@ int ASN1_i2d_bio(i2d_of_void *i2d,BIO *out, unsigned char *x); #define ASN1_i2d_bio_of(type,i2d,out,x) \ ((int (*)(I2D_OF(type),BIO *,type *))openssl_fcast(ASN1_i2d_bio))(i2d,out,x) #define ASN1_i2d_bio_of_const(type,i2d,out,x) \ - ((int (*)(I2D_OF_const(type),BIO *,type *))openssl_fcast(ASN1_i2d_bio))(i2d,out,x) + ((int (*)(I2D_OF_const(type),BIO *,const type *))openssl_fcast(ASN1_i2d_bio))(i2d,out,x) int ASN1_item_i2d_bio(const ASN1_ITEM *it, BIO *out, void *x); int ASN1_UTCTIME_print(BIO *fp,ASN1_UTCTIME *a); int ASN1_GENERALIZEDTIME_print(BIO *fp,ASN1_GENERALIZEDTIME *a); |