From: Dmitry Belyavskiy Date: Fri, 22 Mar 2019 19:43:30 +0000 (+0300) Subject: Fix constification X-Git-Tag: v3.0.0~297 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=c3e0a6ae0eaf7447c78d549b2bbfe93df0bdea39;p=openssl-gost%2Fengine.git Fix constification --- diff --git a/gost_pmeth.c b/gost_pmeth.c index d4364e4..5cf6e72 100644 --- a/gost_pmeth.c +++ b/gost_pmeth.c @@ -564,7 +564,7 @@ static void pkey_gost_mac_cleanup(EVP_PKEY_CTX *ctx) OPENSSL_free(data); } -static int pkey_gost_mac_copy(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src) +static int pkey_gost_mac_copy(EVP_PKEY_CTX *dst, const EVP_PKEY_CTX *src) { struct gost_mac_pmeth_data *dst_data, *src_data; if (!pkey_gost_mac_init(dst)) {