summaryrefslogtreecommitdiffstats
path: root/cipher/cipher.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1999-07-23 14:03:01 +0200
committerWerner Koch <wk@gnupg.org>1999-07-23 14:03:01 +0200
commit843742c0865ace27fb352303ef59ae8ecc838b51 (patch)
treed8573ab4937878054ba84e9f8e4367cd0f127979 /cipher/cipher.c
parentSee ChangeLog: Thu Jul 22 20:03:03 CEST 1999 Werner Koch (diff)
downloadgnupg2-843742c0865ace27fb352303ef59ae8ecc838b51.tar.xz
gnupg2-843742c0865ace27fb352303ef59ae8ecc838b51.zip
See ChangeLog: Fri Jul 23 13:53:03 CEST 1999 Werner KochV0-9-9
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 );