aboutsummaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/armor.c2
-rw-r--r--g10/g10.c2
-rw-r--r--g10/hkp.c1
-rw-r--r--g10/mainproc.c2
-rw-r--r--g10/sign.c2
-rw-r--r--g10/skclist.c2
6 files changed, 6 insertions, 5 deletions
diff --git a/g10/armor.c b/g10/armor.c
index 195fc2cb9..663e824a6 100644
--- a/g10/armor.c
+++ b/g10/armor.c
@@ -575,7 +575,7 @@ radix64_read( armor_filter_context_t *afx, IOBUF a, size_t *retn,
byte *buf, size_t size )
{
byte val;
- int c, c2;
+ int c=0, c2; /*init c because gcc is not clever enough for the continue*/
int checkcrc=0;
int rc = 0;
size_t n = 0;
diff --git a/g10/g10.c b/g10/g10.c
index 872749881..c9d6b650b 100644
--- a/g10/g10.c
+++ b/g10/g10.c
@@ -1,5 +1,5 @@
/* g10.c - The GnuPG utility (main for gpg)
- * Copyright (C) 1998 Free Software Foundation, Inc.
+ * Copyright (C) 1998, 1999 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
diff --git a/g10/hkp.c b/g10/hkp.c
index 11f701116..7300cf0e1 100644
--- a/g10/hkp.c
+++ b/g10/hkp.c
@@ -126,6 +126,7 @@ hkp_export( STRLIST users )
iobuf_write( hd.fp_write, iobuf_get_temp_buffer(temp),
iobuf_get_temp_length(temp) );
iobuf_put( hd.fp_write, '\n' );
+ iobuf_flush_temp( temp );
iobuf_close(temp);
rc = http_wait_response( &hd, &status );
diff --git a/g10/mainproc.c b/g10/mainproc.c
index 51547b886..2e5575dd8 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -279,7 +279,7 @@ proc_plaintext( CTX c, PACKET *pkt )
md_enable( c->mfx.md, DIGEST_ALGO_SHA1 );
md_enable( c->mfx.md, DIGEST_ALGO_MD5 );
}
- md_start_debug( c->mfx.md, "verify" );
+ /*md_start_debug( c->mfx.md, "verify" );*/
rc = handle_plaintext( pt, &c->mfx, c->sigs_only, clearsig );
if( rc == G10ERR_CREATE_FILE && !c->sigs_only) {
/* can't write output but we hash it anyway to
diff --git a/g10/sign.c b/g10/sign.c
index fe13461d6..dd7f50c35 100644
--- a/g10/sign.c
+++ b/g10/sign.c
@@ -646,7 +646,7 @@ clearsign_file( const char *fname, STRLIST locusr, const char *outfile )
PKT_secret_key *sk = sk_rover->sk;
md_enable(textmd, hash_for(sk->pubkey_algo));
}
- md_start_debug( textmd, "sign" );
+ /*md_start_debug( textmd, "sign" );*/
tfx.clearsign = 1;
tfx.not_dash_escaped = opt.not_dash_escaped;
tfx.escape_from = opt.escape_from;
diff --git a/g10/skclist.c b/g10/skclist.c
index 2c46d6699..74ae2a804 100644
--- a/g10/skclist.c
+++ b/g10/skclist.c
@@ -56,7 +56,7 @@ static int
is_insecure( PKT_secret_key *sk )
{
- BUG();
+ return 0; /* FIXME!! */
}