Dear Erik,

I have upgraded c-client to compile with older versions of openssl, but I have not added support for TLS 1.3, so thank you for letting me know about it, as I will do that soon.

I do this upgrade as part of my support for Alpine. Please understand that my priority is Alpine, and I have made changes based on that priority. If you would like to submit more changes to c-client, I will be happy to review them and add them to my repository.

  The current version I use is located at

  http://repo.or.cz/alpine.git

  I hope this helps you.

--
Eduardo

On Thu, 27 Sep 2018, Erik Kangas, Ph.D. wrote:

Hi all,

Now that openssl 1.1.1 has TLS 1.3 included, I am trying to re-compile panda imap with this instead of the latest openssl 1.0.x.  I am getting compilation errors (below).  I wonder if anyone has gone though this process and has a patch?  Secondarily, I wonder if anyone has gone and added a patch to enable TLS 1.3?

Thanks!
-Erik Kangas

~~~~~~~~  Compile errors:
 

osdep.c: In function ‘ssl_start_work’:

osdep.c:436:12: warning: ‘TLSv1_client_method’ is deprecated (declared at /xd1/pkg/openssl/include//openssl/ssl.h:1854) [-Wdeprecated-declarations]

            TLSv1_client_method () :

            ^

osdep.c:486:49: error: dereferencing pointer to incomplete type

     if (scq) return (*scq) (err,host,cert ? cert->name : "???") ? NIL : "";

                                                 ^

osdep.c:488:51: error: dereferencing pointer to incomplete type

     sprintf (tmp,"*%.128s: %.255s",err,cert ? cert->name : "???");

                                                   ^

osdep.c: In function ‘ssl_validate_cert’:

osdep.c:538:17: error: dereferencing pointer to incomplete type

   else if (!cert->name) ret = "No name in certificate";

                 ^

osdep.c:540:28: error: dereferencing pointer to incomplete type

   else if (s = strstr (cert->name,"/CN=")) {

                            ^

osdep.c: In function ‘ssl_server_init’:

osdep.c:911:12: warning: ‘TLSv1_server_method’ is deprecated (declared at /xd1/pkg/openssl/include//openssl/ssl.h:1853) [-Wdeprecated-declarations]

            TLSv1_server_method () :

            ^

osdep.c: In function ‘ssl_genkey’:

osdep.c:982:5: warning: ‘RSA_generate_key’ is deprecated (declared at /xd1/pkg/openssl/include/openssl/rsa.h:234) [-Wdeprecated-declarations]

     if (!(key = RSA_generate_key (export ? keylength : 1024,RSA_F4,NIL,NIL))) {

     ^

make[3]: *** [osdep.o] Error 1

~~~~~~~

 
Erik Kangas, PhD
CEO
+1 617.596.9558
[email protected]
[1]www.LuxSci.com
[2]Erik on LinkedIn
 
 

This email communication is covered under LuxSci's [3]privacy policy.

 

References

Visible links
1. https://luxsci.com/
2. https://www.linkedin.com/in/erikkangas/
3. https://luxsci.com/extranet/privacy.html



--
Eduardo
_______________________________________________
Imap-uw mailing list
[email protected]
http://mailman13.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to