diff options
Diffstat (limited to 'gost_ec_keyx.c')
-rw-r--r-- | gost_ec_keyx.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |