summaryrefslogtreecommitdiffstats
path: root/engines
diff options
context:
space:
mode:
authorJitendraLulla <lullajd@yahoo.com>2017-11-15 06:03:07 +0530
committerMatt Caswell <matt@openssl.org>2017-12-08 10:39:52 +0000
commita3d7fd2837ab7341e58862df95af8532f23d4d51 (patch)
treea43677eca2c916a4df5213dbe97d21b434b58ed9 /engines
parent49ea0f09833fb526a12f9402fa2fcf0f4b735d5e (diff)
fix --strict-warnings
Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4717)
Diffstat (limited to 'engines')
-rw-r--r--engines/e_afalg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/e_afalg.c b/engines/e_afalg.c
index 5f9bc2db4f..3e49a27775 100644
--- a/engines/e_afalg.c
+++ b/engines/e_afalg.c
@@ -80,6 +80,7 @@ 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);
+cbc_handles *get_cipher_handle(int nid);
static int afalg_ciphers(ENGINE *e, const EVP_CIPHER **cipher,
const int **nids, int nid);
static int afalg_cipher_init(EVP_CIPHER_CTX *ctx, const unsigned char *key,
@@ -845,7 +846,7 @@ static int afalg_finish(ENGINE *e)
static int free_cbc(void)
{
- short int i;
+ short unsigned int i;
for(i = 0; i < OSSL_NELEM(afalg_cipher_nids); i++) {
EVP_CIPHER_meth_free(cbc_handle[i]._hidden);
cbc_handle[i]._hidden = NULL;