X-Git-Url: https://wagner.pp.ru/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gost_ameth.c;h=c31ef9a133ddd49d2c02843dfc51e0506a31ba76;hb=4108e77e0eb091fdd9b9c4174374a6ac0cc0abd0;hp=397dbe8fc771317e6bb4b668e89c10d85594ffb9;hpb=a90ad6ce8f4cd876b5a8897b66ef49fb50b378cd;p=openssl-gost%2Fengine.git 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;