diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2016-08-19 19:44:10 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-08-23 11:47:22 +0200 |
commit | 0fe9123687096b6ec7c3c4337095c6e4a94e9867 (patch) | |
tree | 546bb45ed03bc09a8585977c2af4209b167eaf8b /crypto/x509/x509name.c | |
parent | 9f5466b9b86607bb62239873e6be2de1fe9f71fb (diff) |
Constify a bit X509_NAME_get_entry
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/x509/x509name.c')
-rw-r--r-- | crypto/x509/x509name.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509name.c b/crypto/x509/x509name.c index ae39c75e58..919d8c1e7f 100644 --- a/crypto/x509/x509name.c +++ b/crypto/x509/x509name.c @@ -82,7 +82,7 @@ int X509_NAME_get_index_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, int last return (-1); } -X509_NAME_ENTRY *X509_NAME_get_entry(X509_NAME *name, int loc) +X509_NAME_ENTRY *X509_NAME_get_entry(const X509_NAME *name, int loc) { if (name == NULL || sk_X509_NAME_ENTRY_num(name->entries) <= loc || loc < 0) |