summaryrefslogtreecommitdiffstats
path: root/engines/e_afalg.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-02-07 14:05:20 +0100
committerRichard Levitte <levitte@openssl.org>2018-02-07 16:15:47 +0100
commit3a7141df8768e797f42ed14027e974ea845aa20f (patch)
tree3aa8774dfc0d9d27b82d2cf4bbd607afafbe0714 /engines/e_afalg.c
parent7d3901f6dbaace18c0307b1f6a20f38fe6a91807 (diff)
Make all private functions in e_afalg.c static
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5270)
Diffstat (limited to 'engines/e_afalg.c')
-rw-r--r--engines/e_afalg.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/e_afalg.c b/engines/e_afalg.c
index 49b01739fa..da035b5397 100644
--- a/engines/e_afalg.c
+++ b/engines/e_afalg.c
@@ -79,7 +79,7 @@ static int afalg_create_sk(afalg_ctx *actx, const char *ciphertype,
static int afalg_destroy(ENGINE *e);
static int afalg_init(ENGINE *e);
static int afalg_finish(ENGINE *e);
-const EVP_CIPHER *afalg_aes_cbc(int nid);
+static const EVP_CIPHER *afalg_aes_cbc(int nid);
static cbc_handles *get_cipher_handle(int nid);
static int afalg_ciphers(ENGINE *e, const EVP_CIPHER **cipher,
const int **nids, int nid);
@@ -195,7 +195,7 @@ static int afalg_setup_async_event_notification(afalg_aio *aio)
return 1;
}
-int afalg_init_aio(afalg_aio *aio)
+static int afalg_init_aio(afalg_aio *aio)
{
int r = -1;
@@ -215,8 +215,8 @@ int afalg_init_aio(afalg_aio *aio)
return 1;
}
-int afalg_fin_cipher_aio(afalg_aio *aio, int sfd, unsigned char *buf,
- size_t len)
+static int afalg_fin_cipher_aio(afalg_aio *aio, int sfd, unsigned char *buf,
+ size_t len)
{
int r;
int retry = 0;
@@ -658,7 +658,7 @@ static cbc_handles *get_cipher_handle(int nid)
}
}
-const EVP_CIPHER *afalg_aes_cbc(int nid)
+static const EVP_CIPHER *afalg_aes_cbc(int nid)
{
cbc_handles *cipher_handle = get_cipher_handle(nid);
if (cipher_handle->_hidden == NULL