Move conn is secure function

This commit is contained in:
James Booth
2016-05-06 01:49:27 +01:00
parent 8950dbb768
commit b6c4a2029f
5 changed files with 14 additions and 14 deletions

View File

@@ -232,7 +232,7 @@ cmd_tls_trust(ProfWin *window, const char *const command, gchar **args)
cons_show("You are not currently connected.");
return TRUE;
}
if (!session_conn_is_secured()) {
if (!connection_conn_is_secured()) {
cons_show("No TLS connection established");
return TRUE;
}
@@ -330,7 +330,7 @@ cmd_tls_cert(ProfWin *window, const char *const command, gchar **args)
cons_show("You are not currently connected.");
return TRUE;
}
if (!session_conn_is_secured()) {
if (!connection_conn_is_secured()) {
cons_show("No TLS connection established");
return TRUE;
}