#include <library.h>
#include <debug.h>
-static void dbg_stderr(int level, char *fmt, ...)
-{
-}
-
/**
* print the keyids of a private or public key
*/
char buf[8096];
int read;
- dbg = dbg_stderr;
-
library_init(NULL);
- lib->plugins->load(lib->plugins, "/usr/local/libexec/ipsec/plugins", "libstrongswan-");
+ lib->plugins->load(lib->plugins, IPSEC_PLUGINDIR, "gmp pubkey sha1");
atexit(library_deinit);
read = fread(buf, 1, sizeof(buf), stdin);