summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRichard J. Moore <rich@kde.org>2016-07-31 01:08:30 +0100
committerRichard Levitte <levitte@openssl.org>2016-08-01 16:13:27 +0200
commit4a9a0d9bcb6259124aa012b50540c298689fdf41 (patch)
tree1dac550ca3eaa38c66900786432f64b74b29c3d9 /include
parent505aee296d377947a8f9aec9e6053282c5ff63fc (diff)
Const EC_KEY_dup
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'include')
-rw-r--r--include/openssl/ec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openssl/ec.h b/include/openssl/ec.h
index a9ce2088d5..9db239751f 100644
--- a/include/openssl/ec.h
+++ b/include/openssl/ec.h
@@ -771,13 +771,13 @@ void EC_KEY_free(EC_KEY *key);
* \param src src EC_KEY object
* \return dst or NULL if an error occurred.
*/
-EC_KEY *EC_KEY_copy(EC_KEY *dst, EC_KEY *src);
+EC_KEY *EC_KEY_copy(EC_KEY *dst, const EC_KEY *src);
/** Creates a new EC_KEY object and copies the content from src to it.
* \param src the source EC_KEY object
* \return newly created EC_KEY object or NULL if an error occurred.
*/
-EC_KEY *EC_KEY_dup(EC_KEY *src);
+EC_KEY *EC_KEY_dup(const EC_KEY *src);
/** Increases the internal reference count of a EC_KEY object.
* \param key EC_KEY object