Submitted by: "Victor B. Wagner" <vitus@cryptocom.ru>

Reviewed by: steve@openssl.org

Change default Gost parameter set to id_Gost28147_89_CryptoPro_A_ParamSet
This commit is contained in:
Dr. Stephen Henson 2009-02-16 21:52:01 +00:00
parent b5d5c0a21f
commit 2c618ab993

View File

@ -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)