]> wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - gost_eng.c
Free memory
[openssl-gost/engine.git] / gost_eng.c
index 74fe13e205209c984c5d6e146875d67cec425256..ad6d62b6b6d8280c29e3fc0525c5713d21566656 100644 (file)
@@ -29,7 +29,7 @@ static int gost_ciphers(ENGINE* e, const EVP_CIPHER** cipher,
                         const int** nids, int nid);
 
 static int gost_digests(ENGINE* e, const EVP_MD** digest,
-                        const int** nids, int ind);
+                        const int** nids, int nid);
 
 static int gost_pkey_meths(ENGINE* e, EVP_PKEY_METHOD** pmeth,
                            const int** nids, int nid);
@@ -164,7 +164,7 @@ static int gost_engine_destroy(ENGINE* e) {
     return 1;
 }
 
-int bind_gost(ENGINE* e, const char* id) {
+static int bind_gost(ENGINE* e, const char* id) {
     int ret = 0;
     if (id != NULL && strcmp(id, engine_gost_id) != 0)
         return 0;