diff options
Diffstat (limited to 'cipher')
-rw-r--r-- | cipher/cipher.c | 4 | ||||
-rw-r--r-- | cipher/pubkey.c | 2 |
2 files changed, 3 insertions, 3 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 ); diff --git a/cipher/pubkey.c b/cipher/pubkey.c index 548d2e819..a03af3026 100644 --- a/cipher/pubkey.c +++ b/cipher/pubkey.c @@ -278,7 +278,7 @@ disable_pubkey_algo( int algo ) return; } } - log_fatal("can't disable pubkey algo %d: table full\n"); + log_fatal("can't disable pubkey algo %d: table full\n", algo ); } |