diff options
author | Simon Josefsson <simon@josefsson.org> | 2004-08-15 00:54:35 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2004-08-15 00:54:35 +0000 |
commit | 4315bf85517ea7e7dca6ec77878f9e2bccbcddec (patch) | |
tree | 1956fc6bc443c8622d82f55074e6427978ca865a | |
parent | d8e2b8322d299c72bea8ea5236216bd15e14c40f (diff) | |
download | gnutls-4315bf85517ea7e7dca6ec77878f9e2bccbcddec.tar.gz |
Use progname.
-rw-r--r-- | src/certtool.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/certtool.c b/src/certtool.c index 5a22264619..bb44487540 100644 --- a/src/certtool.c +++ b/src/certtool.c @@ -40,6 +40,7 @@ #include <getline.h> #include <error.h> #include <exit.h> +#include <progname.h> static void print_crl_info(gnutls_x509_crl crl, FILE * out, int all); int generate_prime(int bits); @@ -86,6 +87,7 @@ static void tls_log_func(int level, const char *str) int main(int argc, char **argv) { + set_program_name (argv[0]); cfg_init(); gaa_parser(argc, argv); |