diff options
author | Ben Laurie <ben@openssl.org> | 2005-03-30 10:26:02 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2005-03-30 10:26:02 +0000 |
commit | 0821bcd4de85b527281714dd6c4d9683f0e713c4 (patch) | |
tree | 8d66175c3c89866d3f4fab0d49c9171e732c1bb7 /crypto/asn1 | |
parent | 4a6a2032edde65f180a794665adf82c0cc4cd9d1 (diff) |
Constification.
Diffstat (limited to 'crypto/asn1')
-rw-r--r-- | crypto/asn1/a_print.c | 2 | ||||
-rw-r--r-- | crypto/asn1/asn1.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/asn1/a_print.c b/crypto/asn1/a_print.c index 8035513f04..d18e772320 100644 --- a/crypto/asn1/a_print.c +++ b/crypto/asn1/a_print.c @@ -60,7 +60,7 @@ #include "cryptlib.h" #include <openssl/asn1.h> -int ASN1_PRINTABLE_type(unsigned char *s, int len) +int ASN1_PRINTABLE_type(const unsigned char *s, int len) { int c; int ia5=0; diff --git a/crypto/asn1/asn1.h b/crypto/asn1/asn1.h index aad3dcb23d..f340e0850b 100644 --- a/crypto/asn1/asn1.h +++ b/crypto/asn1/asn1.h @@ -864,7 +864,7 @@ BIGNUM *ASN1_ENUMERATED_to_BN(ASN1_ENUMERATED *ai,BIGNUM *bn); /* General */ /* given a string, return the correct type, max is the maximum length */ -int ASN1_PRINTABLE_type(unsigned char *s, int max); +int ASN1_PRINTABLE_type(const unsigned char *s, int max); int i2d_ASN1_bytes(ASN1_STRING *a, unsigned char **pp, int tag, int xclass); ASN1_STRING *d2i_ASN1_bytes(ASN1_STRING **a, const unsigned char **pp, |