Bug 3507

Summary: build fails w/o GnuTLS
Product: Claws Mail (GTK 2) Reporter: Andrew Warshall <warshall>
Component: Plugins/ManageSieveAssignee: users
Status: RESOLVED FIXED    
Severity: normal CC: warshall
Priority: P3    
Version: 3.12.0   
Hardware: PC   
OS: Linux   

Description Andrew Warshall 2015-08-21 06:27:35 UTC
When compiling on a machine without GnuTLS, compilation halts with:

managesieve.c: In function 'sieve_session_connect':
managesieve.c:843:9: error: 'SieveSession' has no member named 'tls_init_done'

and another similar one.

Looking in the source code, it appears the definition of tls_init_done in managesieve.h is conditioned by 

#ifdef USE_GNUTLS

but the reference(s) in managesieve.c are not similarly enclosed.

I don't know if it makes sense to make ManageSieve work w/o TLS, but if not then I think it should be disabled by ./configure on non-GnuTLS systems.
Comment 1 Charles E. Lehner 2015-08-21 18:55:28 UTC
Thanks for the bug report. It should be fixed now in 2ff4e385f8ecdd417096aa859b87e252ab095cd7. The ManageSieve plugin may be useful without TLS if e.g. the server is on the local machine or accessed through a secure tunnel.