X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=keydb_db4.c;h=065fb5b690364099d3f06c90e6a41a4c1742cf62;hb=b5ff00f53ac25452bd2d074b21b2eb36ea345d4a;hp=04d727c6eb8df6df3778f98c67b070686243491e;hpb=5e1b22d763640c4d7a09d07920403d8d491b4410;p=onak.git diff --git a/keydb_db4.c b/keydb_db4.c index 04d727c..065fb5b 100644 --- a/keydb_db4.c +++ b/keydb_db4.c @@ -309,7 +309,7 @@ static void db4_initdb(bool readonly) FILE *numdb = NULL; int ret = 0; int i = 0; - u_int32_t flags = 0; + uint32_t flags = 0; struct stat statbuf; int maxlocks; @@ -1013,6 +1013,10 @@ static int db4_delete_key(uint64_t keyid, bool intrans) } if (!deadlock) { + ret = skshashdb->cursor(skshashdb, + txn, + &cursor, + 0); /* flags */ get_skshash(publickey, &hash); memset(&key, 0, sizeof(key));