From: Dmitry Belyavskiy Date: Fri, 22 Mar 2019 19:50:24 +0000 (+0300) Subject: Fix one more constification X-Git-Tag: v3.0.0~296 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=1a4223ae2846781d4b7c9effc1d3cc07d0cd2de3;p=openssl-gost%2Fengine.git Fix one more constification --- 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)) {