diff options
author | Nils Larsch <nils@openssl.org> | 2006-03-04 13:55:02 +0000 |
---|---|---|
committer | Nils Larsch <nils@openssl.org> | 2006-03-04 13:55:02 +0000 |
commit | 6384e46da3ded92c113b429e9650b10e0d1ab92f (patch) | |
tree | e6fd7e3cf414c20bc23152839f03b9079dea304d /crypto/asn1/a_octet.c | |
parent | 6e2fcc44bd5c032e68039cdf68d9263dfc1e7301 (diff) |
make some parameters const
Diffstat (limited to 'crypto/asn1/a_octet.c')
-rw-r--r-- | crypto/asn1/a_octet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/asn1/a_octet.c b/crypto/asn1/a_octet.c index 24fd0f8e5a..e8725e44f1 100644 --- a/crypto/asn1/a_octet.c +++ b/crypto/asn1/a_octet.c @@ -60,10 +60,10 @@ #include "cryptlib.h" #include <openssl/asn1.h> -ASN1_OCTET_STRING *ASN1_OCTET_STRING_dup(ASN1_OCTET_STRING *x) +ASN1_OCTET_STRING *ASN1_OCTET_STRING_dup(const ASN1_OCTET_STRING *x) { return M_ASN1_OCTET_STRING_dup(x); } -int ASN1_OCTET_STRING_cmp(ASN1_OCTET_STRING *a, ASN1_OCTET_STRING *b) +int ASN1_OCTET_STRING_cmp(const ASN1_OCTET_STRING *a, const ASN1_OCTET_STRING *b) { return M_ASN1_OCTET_STRING_cmp(a, b); } int ASN1_OCTET_STRING_set(ASN1_OCTET_STRING *x, const unsigned char *d, int len) |