imap proxy no longer builds on modern systems 

gcc 9.3 

openssl-1.1.1h-x86_64 

/tmp/squirrelmail.imap_proxy# make
gcc -g -O2 -I. -I./include -c -o src/icc.o src/icc.c
gcc -g -O2 -I. -I./include -c -o src/main.o src/main.c
src/main.c: In function 'main':
src/main.c:464:10: warning: implicit declaration of function 'RAND_egd';
did you mean 'RAND_add'? [-Wimplicit-function-declaration]
464 | if ( RAND_egd( ( RAND_file_name( f_randfile, sizeof( f_randfile )
) == f_randfile ) ? f_randfile : "/.rnd" ) )
| ^~~~~~~~
| RAND_add
src/main.c: In function 'SetBannerAndCapability':
src/main.c:1434:11: warning: implicit declaration of function
'Attempt_STARTTLS' [-Wimplicit-function-declaration]
1434 | if ( Attempt_STARTTLS( &itd ) != 0 )
| ^~~~~~~~~~~~~~~~
src/main.c: In function 'verify_callback':
src/main.c:1577:16: error: dereferencing pointer to incomplete type
'X509_STORE_CTX' {aka 'struct x509_store_ctx_st'}
1577 | switch (ctx->error) {
| ^~
make: *** [Makefile:67: src/main.o] Error 1 

-- 
Regards,
Noel Butler 

This Email, including attachments, may contain legally privileged
information, therefore at all times remains confidential and subject to
copyright protected under international law. You may not disseminate
this message without the authors express written authority to do so. If
you are not the intended recipient, please notify the sender then delete
all copies of this message including attachments immediately.
Confidentiality, copyright, and legal privilege are not waived or lost
by reason of the mistaken delivery of this message.
-----
squirrelmail-imapproxy mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-imapproxy@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.imapproxy
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-imapproxy

Reply via email to