diff options
author | Werner Koch <[email protected]> | 2000-10-10 12:58:43 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2000-10-10 12:58:43 +0000 |
commit | 5a9ea8ff5c942304696463b47d852f475323c69f (patch) | |
tree | f7173ad82644c4449d06885f4c655d025b101cf6 /g10/trustdb.c | |
parent | Added the arcfour cipher which is of use for GNUTLS. (diff) | |
download | gnupg-5a9ea8ff5c942304696463b47d852f475323c69f.tar.gz gnupg-5a9ea8ff5c942304696463b47d852f475323c69f.zip |
Changed keyring handling - saving still does not work.
Added new cipher mode and updated cipher test program.
Diffstat (limited to '')
-rw-r--r-- | g10/trustdb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/g10/trustdb.c b/g10/trustdb.c index f3fcd4649..1fd2383c0 100644 --- a/g10/trustdb.c +++ b/g10/trustdb.c @@ -1778,11 +1778,11 @@ update_trustdb() return; init_trustdb(); - rc = enum_keyblocks( 0, &kbpos, &keyblock ); + rc = enum_keyblocks_begin( &kbpos, 0 ); if( !rc ) { ulong count=0, err_count=0, new_count=0; - while( !(rc = enum_keyblocks( 1, &kbpos, &keyblock )) ) { + while( !(rc = enum_keyblocks_next( kbpos, 1, &keyblock )) ) { /*int modified;*/ TRUSTREC drec; PKT_public_key *pk = find_kbnode( keyblock, PKT_PUBLIC_KEY ) @@ -1825,7 +1825,7 @@ update_trustdb() if( rc && rc != -1 ) log_error(_("enumerate keyblocks failed: %s\n"), gpg_errstr(rc)); - enum_keyblocks( 2, &kbpos, &keyblock ); /* close */ + enum_keyblocks_end( kbpos ); release_kbnode( keyblock ); } |