Force tls on all connections, add tls policy account property

This commit is contained in:
James Booth
2015-10-18 03:06:23 +01:00
parent 9d2745e462
commit 6640a0891f
19 changed files with 190 additions and 42 deletions

View File

@@ -244,7 +244,7 @@ prof_connect_with_roster(char *roster)
"</presence>"
);
prof_input("/connect stabber@localhost server 127.0.0.1 port 5230");
prof_input("/connect stabber@localhost server 127.0.0.1 port 5230 tls allow");
prof_input("password");
// Allow time for profanity to connect

View File

@@ -50,7 +50,7 @@ connect_jid_requests_bookmarks(void **state)
void
connect_bad_password(void **state)
{
prof_input("/connect stabber@localhost server 127.0.0.1 port 5230");
prof_input("/connect stabber@localhost server 127.0.0.1 port 5230 tls allow");
prof_input("badpassword");
assert_true(prof_output_exact("Login failed."));