Fix various gcc compiler warnings in tests.

This commit is contained in:
Milan Broz
2018-12-03 13:47:43 +01:00
parent 0f5c3e107e
commit 9cbd36163c
3 changed files with 26 additions and 24 deletions

View File

@@ -254,7 +254,7 @@ int crypt_decode_key(char *key, const char *hex, unsigned int size)
void global_log_callback(int level, const char *msg, void *usrptr)
{
int len;
size_t len;
if (_debug) {
if (level == CRYPT_LOG_DEBUG)