aboutsummaryrefslogtreecommitdiff
path: root/gost_pmeth.c
diff options
context:
space:
mode:
authorDmitry Belyavskiy <beldmit@gmail.com>2019-03-22 22:50:24 +0300
committerDmitry Belyavskiy <beldmit@gmail.com>2019-03-22 22:50:24 +0300
commit1a4223ae2846781d4b7c9effc1d3cc07d0cd2de3 (patch)
tree855db7f9d4e14a9710409a9b96ae34b454a3bcfb /gost_pmeth.c
parentc3e0a6ae0eaf7447c78d549b2bbfe93df0bdea39 (diff)
downloadgost-engine-1a4223ae2846781d4b7c9effc1d3cc07d0cd2de3.zip
gost-engine-1a4223ae2846781d4b7c9effc1d3cc07d0cd2de3.tar.gz
gost-engine-1a4223ae2846781d4b7c9effc1d3cc07d0cd2de3.tar.bz2
Fix one more constification
Diffstat (limited to 'gost_pmeth.c')
-rw-r--r--gost_pmeth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gost_pmeth.c b/gost_pmeth.c
index 5cf6e72..7eded87 100644
--- a/gost_pmeth.c
+++ b/gost_pmeth.c
@@ -53,7 +53,7 @@ static int pkey_gost_init(EVP_PKEY_CTX *ctx)
}
/* Copies contents of gost_pmeth_data structure */
-static int pkey_gost_copy(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src)
+static int pkey_gost_copy(EVP_PKEY_CTX *dst, const EVP_PKEY_CTX *src)
{
struct gost_pmeth_data *dst_data, *src_data;
if (!pkey_gost_init(dst)) {