Submitted by: "Victor B. Wagner" <vitus@cryptocom.ru>
authorDr. Stephen Henson <steve@openssl.org>
Mon, 16 Feb 2009 21:52:01 +0000 (21:52 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 16 Feb 2009 21:52:01 +0000 (21:52 +0000)
Reviewed by: steve@openssl.org

Change default Gost parameter set to id_Gost28147_89_CryptoPro_A_ParamSet

engines/ccgost/gost_crypt.c

index eb15895..a9536dd 100644 (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)