]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Use progname.
authorSimon Josefsson <simon@josefsson.org>
Sun, 15 Aug 2004 00:54:35 +0000 (00:54 +0000)
committerSimon Josefsson <simon@josefsson.org>
Sun, 15 Aug 2004 00:54:35 +0000 (00:54 +0000)
src/certtool.c

index 5a22264619af8d577e147f93cbd3053bdfde2912..bb444875406ad88cc9d5d44d0123789e0b672bbb 100644 (file)
@@ -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);