about summary refs log tree commit diff stats
path: root/tests/unittests/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-09-22 21:42:05 +0100
committerJames Booth <boothj5@gmail.com>2015-09-22 21:42:05 +0100
commit9414ad268d79ba3d0e75ef5fbe0e379c4462893d (patch)
treef588f8375cc70c89b5ce352e33f834985aa79a5a /tests/unittests/ui
parent74151e6419a606c25b6ea9ad2eed05679f6e8fd9 (diff)
downloadprofani-tty-9414ad268d79ba3d0e75ef5fbe0e379c4462893d.tar.gz
Prompt user to allow or deny untrusted TLS certificates
Diffstat (limited to 'tests/unittests/ui')
-rw-r--r--tests/unittests/ui/stub_ui.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c
index 8c5f9701..032564fd 100644
--- a/tests/unittests/ui/stub_ui.c
+++ b/tests/unittests/ui/stub_ui.c
@@ -168,6 +168,11 @@ char * ui_ask_password(void)
     return mock_ptr_type(char *);
 }
 
+char *ui_get_line(void)
+{
+    return NULL;
+}
+
 void ui_handle_stanza(const char * const msg) {}
 
 // ui events