From: Dmitry Belyavskiy Date: Sun, 1 Nov 2015 23:14:55 +0000 (+0300) Subject: Adoption to 1.1.0 X-Git-Tag: v1.1.0.2~39 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=b5c8a4f3e8b8483c921b59a4e3257d41d57063de;p=openssl-gost%2Fengine.git Adoption to 1.1.0 --- diff --git a/gost_ameth.c b/gost_ameth.c index c8d7e4f..feec554 100644 --- a/gost_ameth.c +++ b/gost_ameth.c @@ -913,6 +913,9 @@ int register_ameth_gost(int nid, EVP_PKEY_ASN1_METHOD **ameth, pkey_size_gost, pkey_bits_gost); EVP_PKEY_asn1_set_ctrl(*ameth, pkey_ctrl_gost); +#if OPENSSL_VERSION_NUMBER >= 0x10100000L + EVP_PKEY_asn1_set_security_bits(*ameth,ce_pkey_bits_gost); +#endif break; case NID_id_Gost28147_89_MAC: EVP_PKEY_asn1_set_free(*ameth, mackey_free_gost);