diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2014-12-14 23:14:15 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-01-05 14:52:55 +0000 |
commit | 4c52816d35681c0533c25fdd3abb4b7c6962302d (patch) | |
tree | 31bf1b105912fb601a5815e647f3ac52a87e8d54 /crypto/asn1/a_type.c | |
parent | 684400ce192dac51df3d3e92b61830a6ef90be3e (diff) | |
download | openssl-4c52816d35681c0533c25fdd3abb4b7c6962302d.tar.gz |
Constify ASN1_TYPE_cmp add X509_ALGOR_cmp.
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'crypto/asn1/a_type.c')
-rw-r--r-- | crypto/asn1/a_type.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/a_type.c b/crypto/asn1/a_type.c index a45d2f9d12..5e1bc762d0 100644 --- a/crypto/asn1/a_type.c +++ b/crypto/asn1/a_type.c @@ -113,7 +113,7 @@ IMPLEMENT_STACK_OF(ASN1_TYPE) IMPLEMENT_ASN1_SET_OF(ASN1_TYPE) /* Returns 0 if they are equal, != 0 otherwise. */ -int ASN1_TYPE_cmp(ASN1_TYPE *a, ASN1_TYPE *b) +int ASN1_TYPE_cmp(const ASN1_TYPE *a, const ASN1_TYPE *b) { int result = -1; |