strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleaned up pluto's crypto framework
[strongswan.git]
/
scripts
/
key2keyid.c
diff --git
a/scripts/key2keyid.c
b/scripts/key2keyid.c
index
3c488e5
..
80c3429
100644
(file)
--- a/
scripts/key2keyid.c
+++ b/
scripts/key2keyid.c
@@
-3,11
+3,6
@@
#include <library.h>
#include <debug.h>
#include <library.h>
#include <debug.h>
-static void dbg_stderr(int level, char *fmt, ...)
-{
-
-}
-
/**
* print the keyids of a private or public key
*/
/**
* print the keyids of a private or public key
*/
@@
-19,10
+14,8
@@
int main(int argc, char *argv[])
char buf[8096];
int read;
char buf[8096];
int read;
- //dbg = dbg_stderr;
-
library_init(NULL);
library_init(NULL);
- lib->plugins->load(lib->plugins,
"/usr/local/libexec/ipsec/plugins"
, "gmp pubkey sha1");
+ lib->plugins->load(lib->plugins,
IPSEC_PLUGINDIR
, "gmp pubkey sha1");
atexit(library_deinit);
read = fread(buf, 1, sizeof(buf), stdin);
atexit(library_deinit);
read = fread(buf, 1, sizeof(buf), stdin);