]> wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - gost_eng.c
Produce correct GOST signatures
[openssl-gost/engine.git] / gost_eng.c
index 472ba82573f0964a593374f8fb5eeb44a5b07eab..517a7da2e6a0d2f95b5dd69373ce0e2783fb0a2b 100644 (file)
@@ -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;
 }