X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gost_eng.c;h=517a7da2e6a0d2f95b5dd69373ce0e2783fb0a2b;hb=4c6fcee148d708f035edaa43e7f26785c15fa7a5;hp=472ba82573f0964a593374f8fb5eeb44a5b07eab;hpb=e183e8b50da0b46a957c394af8612432a09a42ca;p=openssl-gost%2Fengine.git diff --git a/gost_eng.c b/gost_eng.c index 472ba82..517a7da 100644 --- a/gost_eng.c +++ b/gost_eng.c @@ -110,6 +110,7 @@ static int gost_engine_destroy(ENGINE* e) { imit_gost_cp_12_destroy(); cipher_gost_destroy(); + cipher_gost_grasshopper_destroy(); gost_param_free(); @@ -125,6 +126,8 @@ static int gost_engine_destroy(ENGINE* e) { ameth_GostR3410_2012_512 = NULL; ameth_Gost28147_MAC_12 = NULL; + ERR_unload_GOST_strings(); + return 1; }