summaryrefslogtreecommitdiffstats
path: root/cipher/cipher.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/cipher.c')
-rw-r--r--cipher/cipher.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cipher/cipher.c b/cipher/cipher.c
index ac77e5b02..4a0e683d9 100644
--- a/cipher/cipher.c
+++ b/cipher/cipher.c
@@ -260,7 +260,7 @@ disable_cipher_algo( int algo )
}
}
/* fixme: we should use a linked list */
- log_fatal("can't disable cipher algo %d: table full\n");
+ log_fatal("can't disable cipher algo %d: table full\n", algo );
}
/****************
@@ -396,7 +396,7 @@ cipher_setiv( CIPHER_HANDLE c, const byte *iv, unsigned ivlen )
if( iv ) {
if( ivlen != c->blocksize )
log_info("WARNING: cipher_setiv: ivlen=%u blklen=%u\n",
- ivlen, c->blocksize );
+ ivlen, (unsigned)c->blocksize );
if( ivlen > c->blocksize )
ivlen = c->blocksize;
memcpy( c->iv, iv, ivlen );