projects
/
fwknop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c70ad5f
)
set fko_ctx_t opaque pointers to NULL
author
Michael Rash
<mbr@cipherdyne.org>
Thu, 21 Feb 2013 02:20:09 +0000 (21:20 -0500)
committer
Michael Rash
<mbr@cipherdyne.org>
Thu, 21 Feb 2013 02:20:09 +0000 (21:20 -0500)
client/fwknop.c
patch
|
blob
|
history
diff --git
a/client/fwknop.c
b/client/fwknop.c
index
7fa047a
..
e77c76d
100644
(file)
--- a/
client/fwknop.c
+++ b/
client/fwknop.c
@@
-61,7
+61,7
@@
static void clean_exit(fko_ctx_t ctx, fko_cli_options_t *opts,
int
main(int argc, char **argv)
{
- fko_ctx_t ctx, ctx2;
+ fko_ctx_t ctx = NULL, ctx2 = NULL;
int res;
char *spa_data, *version;
char access_buf[MAX_LINE_LEN] = {0};
@@
-103,7
+103,8
@@
main(int argc, char **argv)
}
else
{
- printf("KEY_BASE64: %s\nHMAC_KEY_BASE64: %s\n", options.key_base64, options.hmac_key_base64);
+ printf("KEY_BASE64: %s\nHMAC_KEY_BASE64: %s\n",
+ options.key_base64, options.hmac_key_base64);
}
return(EXIT_SUCCESS);
}