X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=engines%2Fccgost%2Fgost_crypt.c;h=a9536dd8a4cb23cec3a6e033fa5b363eb793998b;hp=eb15895a6982ede67af708282f54b10741ae3333;hb=2c618ab99348207e36b8de47d66099c1c46bc173;hpb=b5d5c0a21f8fde538ad71bc024cba442ed44ba8d diff --git a/engines/ccgost/gost_crypt.c b/engines/ccgost/gost_crypt.c index eb15895a69..a9536dd8a4 100644 --- a/engines/ccgost/gost_crypt.c +++ b/engines/ccgost/gost_crypt.c @@ -127,7 +127,7 @@ const struct gost_cipher_info *get_encryption_params(ASN1_OBJECT *obj) { const char * params = get_gost_engine_param(GOST_PARAM_CRYPT_PARAMS); if (!params || !strlen(params)) - return &gost_cipher_list[0]; + return &gost_cipher_list[1]; nid = OBJ_txt2nid(params); if (nid == NID_undef)