summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
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 ebeb3e9a4b..a9ce2088d5 100644
--- a/include/openssl/ec.h
+++ b/include/openssl/ec.h
@@ -906,7 +906,7 @@ int EC_KEY_oct2key(EC_KEY *key, const unsigned char *buf, size_t len,
* \return 1 on success and 0 if an error occurred
*/
-int EC_KEY_oct2priv(EC_KEY *key, unsigned char *buf, size_t len);
+int EC_KEY_oct2priv(EC_KEY *key, const unsigned char *buf, size_t len);
/** Encodes a EC_KEY private key to an octet string
* \param key key to encode