Hi I'm trying to build imap on osx 10.12 (Sierra) The last version of courier-imap 4.17.3 that I could build is is with openssl-1.0.2h without any error. However OpenSSL 1.1.+ gives me a multitude of errors. I wonder if it's supported?
libcouriertls.c:164:41: error: incomplete definition of type 'struct stack_st_X509' if (peer_cert_chain && peer_cert_chain->stack.num > 0) ~~~~~~~~~~~~~~~^ libcouriertls.c:166:36: error: incomplete definition of type 'struct stack_st_X509' X509 *xx=(X509 *)peer_cert_chain->stack.data[0]; ~~~~~~~~~~~~~~~^ libcouriertls.c:429:39: error: incomplete definition of type 'struct stack_st_X509_NAME' for (i=0; client_cas && i<client_cas->stack.num; i++) ~~~~~~~~~~^ libcouriertls.c:431:43: error: incomplete definition of type 'struct stack_st_X509_NAME' X509_NAME *cert=(X509_NAME *)client_cas->stack.data[i]; ~~~~~~~~~~^ libcouriertls.c:434:9: error: incomplete definition of type 'struct x509_st' x->cert_info->issuer) == 0) ~^ libcouriertls.c:438:37: error: incomplete definition of type 'struct stack_st_X509_NAME' if (!client_cas || i >= client_cas->stack.num) ~~~~~~~~~~^ libcouriertls.c:858:28: error: incomplete definition of type 'struct ssl_session_st' size_t session_id_len=sess->session_id_length; ~~~~^ libcouriertls.c:969:29: error: incomplete definition of type 'struct ssl_session_st' wi.id=(unsigned char *)sess->session_id; ~~~~^ libcouriertls.c:970:16: error: incomplete definition of type 'struct ssl_session_st' wi.id_len=sess->session_id_length; ~~~~^ libcouriertls.c:1484:49: error: incomplete definition of type 'struct stack_st_X509' for (i=0; peer_cert_chain && i<peer_cert_chain->stack.num; i++) ~~~~~~~~~~~~~~~^ libcouriertls.c:1485:37: error: incomplete definition of type 'struct stack_st_X509' dump_x509((X509 *)peer_cert_chain->stack.data[i], ~~~~~~~~~~~~~~~^ libcouriertls.c:1663:24: error: incomplete definition of type 'struct x509_st' p=X509_NAME_oneline(x->cert_info->subject, NULL, 0); ~^ /usr/local/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'struct x509_st' typedef struct x509_st X509; ^ 6 warnings and 13 errors generated. make[3]: *** [libcouriertls.lo] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 107-135-124-10:courier-imap-4.17.3 courier$ -- Best, George Captainnet.net -------------- 1.818.396.7878 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap