aboutsummaryrefslogtreecommitdiff
path: root/gost_keyexpimp.c
diff options
context:
space:
mode:
authorVitaly Chikunov <vt@altlinux.org>2020-05-13 05:10:57 +0300
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>2020-05-13 20:12:23 +0300
commit6036eb9be5403af769f211b1056d34bf65028aea (patch)
tree5a40ab0989760f22670249f0b4bdf9ca8f31d4cc /gost_keyexpimp.c
parent970934039a4481b67c9c6433e20ca3002098cae6 (diff)
downloadgost-engine-6036eb9be5403af769f211b1056d34bf65028aea.zip
gost-engine-6036eb9be5403af769f211b1056d34bf65028aea.tar.gz
gost-engine-6036eb9be5403af769f211b1056d34bf65028aea.tar.bz2
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.
Diffstat (limited to 'gost_keyexpimp.c')
-rw-r--r--gost_keyexpimp.c2
1 files changed, 1 insertions, 1 deletions
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)
{