Starting with commit 87e06f7 (Rewrite TLS support), imap4d fails as follows:

$ ./imap4d.exe --version
INTERNAL ERROR: Requested unknown canned section tls
Aborted (core dumped)

[This is on Cygwin; I haven't tried it on any other platform.]

Running imap4d under gdb, I see the following:

#0  0x00000005f7e51881 in mu_assoc_get (assoc=0x60007e910,
    name=0x1004183e1 "tls") at assoc.c:325
#1  0x00000005f7e6f099 in mu_get_canned_container (name=0x1004183e1 "tls")
    at driver.c:91
#2  0x00000005f7e6f4e4 in mu_cfg_section_add_params (sect=0x600083db0,
    param=0x100415ad8 <imap4d_srv_param+56>) at driver.c:260
#3  0x00000005f7eaab80 in mu_m_server_cfg_init (srv=0x600083830,
    app_param=0x100415aa0 <imap4d_srv_param>) at msrv.c:998
#4  0x0000000100408956 in main (argc=2, argv=0xffffcc10) at imap4d.c:1005

The call to mu_assoc_get returns NULL because assoc_find_slot doesn't find "tls". Shouldn't something be done to create the "tls" section before mu_get_canned_container is called?

Ken

_______________________________________________
Bug-mailutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to