about summary refs log tree commit diff stats
path: root/src/event
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-11-09 23:31:21 +0000
committerJames Booth <boothj5@gmail.com>2015-11-09 23:31:21 +0000
commitbee27f47736d5d16500bb83e7ae9b5cd80cd4b26 (patch)
treeabc1ed194fcc406ac7ecff21e0fe93ed52db026e /src/event
parent4cbfb888141cf060608f213499672e0b2c56f331 (diff)
downloadprofani-tty-bee27f47736d5d16500bb83e7ae9b5cd80cd4b26.tar.gz
Added /tls cert to show current certificate fingerprint
Diffstat (limited to 'src/event')
-rw-r--r--src/event/server_events.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/event/server_events.c b/src/event/server_events.c
index 032c8d16..2663eb09 100644
--- a/src/event/server_events.c
+++ b/src/event/server_events.c
@@ -119,6 +119,7 @@ sv_ev_failed_login(void)
 {
     cons_show_error("Login failed.");
     log_info("Login failed");
+    tlscerts_clear_current();
 }
 
 void