summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2016-08-19 19:44:10 +0200
committerRichard Levitte <levitte@openssl.org>2016-08-23 11:47:22 +0200
commit0fe9123687096b6ec7c3c4337095c6e4a94e9867 (patch)
tree546bb45ed03bc09a8585977c2af4209b167eaf8b /include
parent9f5466b9b86607bb62239873e6be2de1fe9f71fb (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 'include')
-rw-r--r--include/openssl/x509.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/x509.h b/include/openssl/x509.h
index 3e45ec023f..c8996f3520 100644
--- a/include/openssl/x509.h
+++ b/include/openssl/x509.h
@@ -790,7 +790,7 @@ int X509_NAME_get_text_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj,
int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos);
int X509_NAME_get_index_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj,
int lastpos);
-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);
X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc);
int X509_NAME_add_entry(X509_NAME *name, const X509_NAME_ENTRY *ne,
int loc, int set);