X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gost_eng.c;h=0a2af555127552af0b50aa7a80627733553cecb7;hb=2810b8ebebeda933e723c33f8c9f893b76f2391a;hp=472ba82573f0964a593374f8fb5eeb44a5b07eab;hpb=e183e8b50da0b46a957c394af8612432a09a42ca;p=openssl-gost%2Fengine.git diff --git a/gost_eng.c b/gost_eng.c index 472ba82..0a2af55 100644 --- a/gost_eng.c +++ b/gost_eng.c @@ -125,6 +125,8 @@ static int gost_engine_destroy(ENGINE* e) { ameth_GostR3410_2012_512 = NULL; ameth_Gost28147_MAC_12 = NULL; + ERR_unload_GOST_strings(); + return 1; } @@ -222,6 +224,7 @@ static int bind_gost(ENGINE* e, const char* id) { || !EVP_add_cipher(cipher_gost_grasshopper_cfb()) || !EVP_add_cipher(cipher_gost_grasshopper_ofb()) || !EVP_add_cipher(cipher_gost_grasshopper_ctr()) + || !EVP_add_cipher(cipher_magma_cbc()) || !EVP_add_digest(digest_gost()) || !EVP_add_digest(digest_gost2012_512()) || !EVP_add_digest(digest_gost2012_256())