summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFiona Klute <fiona.klute@gmx.de>2019-12-01 18:45:28 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2019-12-01 22:34:53 +0100
commit21116dc786d7206ad1ab8ae67328f69c6beb529a (patch)
treea8fe73804c2eef23393ee5ce900587608613f645 /src
parentfb6cf5beda18d9be6992245c74c45183c9defa63 (diff)
downloadgnutls-21116dc786d7206ad1ab8ae67328f69c6beb529a.tar.gz
Send log messages about loading client credentials to logfile, if set
Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
Diffstat (limited to 'src')
-rw-r--r--src/cli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli.c b/src/cli.c
index b31f43cadb..0eaa34a427 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -263,7 +263,7 @@ static void load_x509_keys(void)
load_priv_key(&x509_key, x509_keyfile);
- fprintf(stdout,
+ log_msg(stdout,
"Processed %d client X.509 certificates...\n",
x509_crt_size);
}
@@ -298,7 +298,7 @@ static void load_rawpk_keys(void)
// Secondly, we load the private key corresponding to the raw pk
load_priv_key(&rawpk_key, rawpk_keyfile);
- fprintf(stdout,
+ log_msg(stdout,
"Processed %d client raw public key pair...\n", 1);
}
}