X-Git-Url: http://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_ec_keyx.c;h=929c7861765e4288906159f9cdc93c9daaf545fb;hb=ce40d60dfafceef6b964d741aba51ff068c59213;hp=7a80d232edb0ca52e666d235ec50653ad5792e55;hpb=57d07eb0dc22bee10aebb0bd37cbdf2258413564;p=openssl-gost%2Fengine.git diff --git a/gost_ec_keyx.c b/gost_ec_keyx.c index 7a80d23..929c786 100644 --- a/gost_ec_keyx.c +++ b/gost_ec_keyx.c @@ -189,7 +189,7 @@ int pkey_GOST_ECcp_encrypt(EVP_PKEY_CTX *pctx, unsigned char *out, } if (!get_gost_engine_param(GOST_PARAM_CRYPT_PARAMS) && param == gost_cipher_list) { - param = gost_cipher_list + 1; + param = gost_cipher_list; } if (out) { int dgst_nid = NID_undef;