From: Dmitry Belyavskiy Date: Wed, 27 May 2020 09:56:07 +0000 (+0300) Subject: API changes X-Git-Tag: v3.0.0~94 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=4108e77e0eb091fdd9b9c4174374a6ac0cc0abd0;p=openssl-gost%2Fengine.git API changes --- diff --git a/gost_ameth.c b/gost_ameth.c index 397dbe8..c31ef9a 100644 --- a/gost_ameth.c +++ b/gost_ameth.c @@ -224,7 +224,7 @@ BIGNUM *gost_get0_priv_key(const EVP_PKEY *pkey) * GOST CMS processing functions */ /* FIXME reaarange declarations */ -static int pub_decode_gost_ec(EVP_PKEY *pk, X509_PUBKEY *pub); +static int pub_decode_gost_ec(EVP_PKEY *pk, const X509_PUBKEY *pub); static int gost_cms_set_kari_shared_info(EVP_PKEY_CTX *pctx, CMS_RecipientInfo *ri) { @@ -896,7 +896,7 @@ static int param_cmp_gost_ec(const EVP_PKEY *a, const EVP_PKEY *b) } /* ---------- Public key functions * --------------------------------------*/ -static int pub_decode_gost_ec(EVP_PKEY *pk, X509_PUBKEY *pub) +static int pub_decode_gost_ec(EVP_PKEY *pk, const X509_PUBKEY *pub) { X509_ALGOR *palg = NULL; const unsigned char *pubkey_buf = NULL;