From 6036eb9be5403af769f211b1056d34bf65028aea Mon Sep 17 00:00:00 2001 From: Vitaly Chikunov Date: Wed, 13 May 2020 05:10:57 +0300 Subject: Add static to functions that not need to be exported After registration rework many callbacks not need to be exported. Also, some functions inconsistently declared static in headers and non-static in the code. Finally, some functions just not need to be exported. --- gost_keyexpimp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gost_keyexpimp.c') diff --git a/gost_keyexpimp.c b/gost_keyexpimp.c index 15d172d..1f2c0aa 100644 --- a/gost_keyexpimp.c +++ b/gost_keyexpimp.c @@ -407,7 +407,7 @@ static int kuznyechik_wrap_do(EVP_CIPHER_CTX *ctx, unsigned char *out, } } -int wrap_ctrl (EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) +static int wrap_ctrl (EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) { switch(type) { -- cgit v1.1