diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2016-07-08 00:10:29 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-07-25 08:20:00 -0400 |
commit | 333ed02c8a912f7c8b7dcf7ea8f1ff10e7a006c0 (patch) | |
tree | 26d8d27ed5154ab67bd017405db68cef7cf04438 /crypto/x509/x509_att.c | |
parent | d3d5dc607a27859594be59be90cda9f474073b5a (diff) |
Constify input parameters of methods :
- X509_NAME_entry_count, X509_ATTRIBUTE_count
- X509_NAME_add_entry_by_OBJ, X509_NAME_ENTRY_create_by_OBJ, X509_NAME_ENTRY_set_object
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1300)
Diffstat (limited to 'crypto/x509/x509_att.c')
-rw-r--r-- | crypto/x509/x509_att.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509_att.c b/crypto/x509/x509_att.c index 1fda58e90f..044f80dfa9 100644 --- a/crypto/x509/x509_att.c +++ b/crypto/x509/x509_att.c @@ -294,7 +294,7 @@ int X509_ATTRIBUTE_set1_data(X509_ATTRIBUTE *attr, int attrtype, return 0; } -int X509_ATTRIBUTE_count(X509_ATTRIBUTE *attr) +int X509_ATTRIBUTE_count(const X509_ATTRIBUTE *attr) { if (attr == NULL) return 0; |