Restore module loading
[openssl.git] / engines / ccgost / gost_eng.c
index 971a1ed3198ac17ba79ff04afa6a148063714800..5924791b7735d35ff7ab1e97b3fc608e3cfb4f3a 100644 (file)
@@ -76,6 +76,10 @@ static int bind_gost(ENGINE *e, const char *id)
     int ret = 0;
     if (id && strcmp(id, engine_gost_id))
         return 0;
+    if (ameth_GostR3410_94) {
+        printf("GOST engine already loaded\n");
+        goto end;
+    }
 
     if (!ENGINE_set_id(e, engine_gost_id)) {
         printf("ENGINE_set_id failed\n");