*
* Copyright 2002 Project Purple
*
- * $Id: lookup.c,v 1.11 2003/10/04 10:21:41 noodles Exp $
+ * $Id: lookup.c,v 1.14 2004/05/26 18:53:14 noodles Exp $
*/
#include <inttypes.h>
} else if (search == NULL) {
puts("Error: No key to search for supplied.");
} else {
- readconfig();
+ readconfig(NULL);
initlogthing("lookup", config.logfile);
- initdb();
+ initdb(true);
switch (op) {
case OP_GET:
+ logthing(LOGTHING_NOTICE, "Getting keyid %llX",
+ keyid);
if (fetch_key(keyid, &publickey, false)) {
puts("<pre>");
flatten_publickey(publickey,