summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-08-18 13:59:32 +0100
committerDr. Stephen Henson <steve@openssl.org>2016-08-19 12:44:18 +0100
commit60c25873699285731cf3f2f5b6e5ade739e8862a (patch)
treeceaa4afc2fb454d6ab1e97894d5684ce3c88bada /include
parenta9c27fe19f159391aac7e591b64b44c1ea9d3642 (diff)
constify i2o_ECPublicKey
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'include')
-rw-r--r--include/openssl/ec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/ec.h b/include/openssl/ec.h
index 4a8b832756..b6db22da8c 100644
--- a/include/openssl/ec.h
+++ b/include/openssl/ec.h
@@ -987,7 +987,7 @@ EC_KEY *o2i_ECPublicKey(EC_KEY **key, const unsigned char **in, long len);
* of bytes needed).
* \return 1 on success and 0 if an error occurred
*/
-int i2o_ECPublicKey(EC_KEY *key, unsigned char **out);
+int i2o_ECPublicKey(const EC_KEY *key, unsigned char **out);
/** Prints out the ec parameters on human readable form.
* \param bp BIO object to which the information is printed