diff options
author | Simon Josefsson <simon@josefsson.org> | 2009-05-03 22:29:21 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2009-05-03 22:29:21 +0200 |
commit | 2d2b4693689d5f3b858e2d983c428f2e4a24d364 (patch) | |
tree | fe1557c51142e9ab149a44a2cca32ec24d7d2f64 /src/psk.c | |
parent | 6ab3a57a4af0a0e64f4afe2794682128d108ff34 (diff) | |
download | gnutls-2d2b4693689d5f3b858e2d983c428f2e4a24d364.tar.gz |
Fix syntax-check warnings.
Diffstat (limited to 'src/psk.c')
-rw-r--r-- | src/psk.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,5 @@ /* - * Copyright (C) 2005, 2007, 2008 Free Software Foundation + * Copyright (C) 2005, 2007, 2008, 2009 Free Software Foundation * * This file is part of GNUTLS. * @@ -21,6 +21,7 @@ /* Gnulib portability files. */ #include <version-etc.h> +#include <progname.h> #ifndef ENABLE_PSK @@ -74,6 +75,8 @@ main (int argc, char **argv) gnutls_datum_t dkey; size_t hex_key_size = sizeof (hex_key); + set_program_name (argv[0]); + if ((ret = gnutls_global_init ()) < 0) { fprintf (stderr, "global_init: %s\n", gnutls_strerror (ret)); |