aboutsummaryrefslogtreecommitdiffstats
path: root/cipher
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1999-07-23 12:03:01 +0000
committerWerner Koch <[email protected]>1999-07-23 12:03:01 +0000
commit843742c0865ace27fb352303ef59ae8ecc838b51 (patch)
treed8573ab4937878054ba84e9f8e4367cd0f127979 /cipher
parentSee ChangeLog: Thu Jul 22 20:03:03 CEST 1999 Werner Koch (diff)
downloadgnupg-843742c0865ace27fb352303ef59ae8ecc838b51.tar.gz
gnupg-843742c0865ace27fb352303ef59ae8ecc838b51.zip
See ChangeLog: Fri Jul 23 13:53:03 CEST 1999 Werner KochV0-9-9
Diffstat (limited to 'cipher')
-rw-r--r--cipher/cipher.c4
-rw-r--r--cipher/pubkey.c2
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 );
}