about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-09-22 23:56:22 +0100
committerJames Booth <boothj5@gmail.com>2015-09-22 23:56:22 +0100
commita964050b87988bf7238125de509a0bf9c1951bcc (patch)
tree9e72ed2f82486bcf872507bad8b7da53672f8c8b
parent3d44541069121915d6150b0d9073078a54715b9c (diff)
downloadprofani-tty-a964050b87988bf7238125de509a0bf9c1951bcc.tar.gz
Use subject name in cert callback
-rw-r--r--src/event/server_events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/server_events.c b/src/event/server_events.c
index d2aaf28b..31b8a698 100644
--- a/src/event/server_events.c
+++ b/src/event/server_events.c
@@ -652,7 +652,7 @@ sv_ev_certfail(const char * const errormsg, const char * const certname, const c
 
     cons_show("");
     cons_show_error("TLS certficiate verification failed: %s", errormsg);
-    cons_show("  Issuer      : %s", certname);
+    cons_show("  Subject      : %s", certname);
     cons_show("  Fingerprint : %s", certfp);
     cons_show("  Start       : %s", notbefore);
     cons_show("  End         : %s", notafter);