accelerate lookup in non-concatenated pools
[strongswan.git] / scripts / key2keyid.c
index b74ac70..201670e 100644 (file)
@@ -2,11 +2,8 @@
 #include <stdio.h>
 #include <library.h>
 #include <debug.h>
-
-static void dbg_stderr(int level, char *fmt, ...)
-{
-       
-}
+#include <credentials/keys/private_key.h>
+#include <credentials/keys/public_key.h>
 
 /**
  * print the keyids of a private or public key
@@ -19,8 +16,6 @@ int main(int argc, char *argv[])
        char buf[8096];
        int read;
        
-       //dbg = dbg_stderr;
-       
        library_init(NULL);
        lib->plugins->load(lib->plugins, IPSEC_PLUGINDIR, "gmp pubkey sha1");
        atexit(library_deinit);