X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_ameth.c;h=c60ce0acb9e6a2a38db2089e8e55fd439bd59f13;hb=785a1ea49f67e9f25a269155905236ef44dccda6;hp=f4f50fabceddb40e2bffc5aa24d5d1df42940ad5;hpb=795f0b415bc5ff73a54ca15a8f4f8be1f56a82c2;p=openssl-gost%2Fengine.git diff --git a/gost_ameth.c b/gost_ameth.c index f4f50fa..c60ce0a 100644 --- a/gost_ameth.c +++ b/gost_ameth.c @@ -229,7 +229,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, const X509_PUBKEY *pub); +static int pub_decode_gost_ec(EVP_PKEY *pk, X509_PUBKEY *pub); static int gost_cms_set_kari_shared_info(EVP_PKEY_CTX *pctx, CMS_RecipientInfo *ri) { @@ -902,7 +902,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, const X509_PUBKEY *pub) +static int pub_decode_gost_ec(EVP_PKEY *pk, X509_PUBKEY *pub) { X509_ALGOR *palg = NULL; const unsigned char *pubkey_buf = NULL;