diff options
| author | Werner Koch <[email protected]> | 2006-05-23 16:19:43 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2006-05-23 16:19:43 +0000 |
| commit | fbe4ac37f6d3e7870e26caffb0d21c3c77198297 (patch) | |
| tree | f21028be87bda6df4f2f1e3ae105feeb5a2eb158 /g10/import.c | |
| parent | 2006-05-19 Marcus Brinkmann <[email protected]> (diff) | |
| download | gnupg-fbe4ac37f6d3e7870e26caffb0d21c3c77198297.tar.gz gnupg-fbe4ac37f6d3e7870e26caffb0d21c3c77198297.zip | |
g10/ does build again.
Diffstat (limited to 'g10/import.c')
| -rw-r--r-- | g10/import.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/g10/import.c b/g10/import.c index ee4ea95da..4526d84d7 100644 --- a/g10/import.c +++ b/g10/import.c @@ -243,7 +243,9 @@ import( IOBUF inp, const char* fname,struct stats_s *stats, unsigned char **fpr,size_t *fpr_len,unsigned int options ) { PACKET *pending_pkt = NULL; - KBNODE keyblock; + KBNODE keyblock = NULL; /* Need to initialize because gcc can't + grasp the return semantics of + read_block. */ int rc = 0; getkey_disable_caches(); @@ -596,7 +598,7 @@ check_prefs(KBNODE keyblock) if(prefs->type==PREFTYPE_SYM) { - if (openpgp_cipher_algo_test (prefs->value)) + if (openpgp_cipher_test_algo (prefs->value)) { const char *algo = gcry_cipher_algo_name (prefs->value); if(!problem) |
