summaryrefslogtreecommitdiff
path: root/pop3e.c
diff options
context:
space:
mode:
Diffstat (limited to 'pop3e.c')
-rw-r--r--pop3e.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pop3e.c b/pop3e.c
index 1bd8635..88e3c33 100644
--- a/pop3e.c
+++ b/pop3e.c
@@ -48,7 +48,7 @@ struct imsgev iev_pop3d;
void *ssl_ctx;
void
-pop3_main(int pair[2], struct passwd *pw)
+pop3_main(int pair[2], struct passwd *pw, const char *cert, const char *key)
{
extern struct session_tree sessions;
struct event ev_sigint, ev_sigterm;
@@ -73,7 +73,7 @@ pop3_main(int pair[2], struct passwd *pw)
pop3_listen("pop3");
ssl_init();
- if ((ssl_ctx = ssl_setup()) == NULL)
+ if ((ssl_ctx = ssl_setup(cert, key)) == NULL)
fatal("ssl_setup failed");
pop3_listen("pop3s");