Hello Eduardo,

This is good and we can probably use this for the imapd server; however, when I compile Panda against openssl 1.1.1.x, I find that the first set of errors I receive involve the c-client library (which we need for linking with PHP, for example).  The c-client section (i.e. the c-client directory immediately below "imap" vs the one below "src") seems to be missing from the alpine source -- as its probably not needed for alpine.

Is anyone else on this list familiar enough with the code to be able to make the modifications?  I.e., the compile errors I get are of the form below (at least that is how far it gets before bailing).

Thank you,
-Erik Kangas

~~~~~~~
 

sdep.c: In function 'ssl_start_work':

osdep.c:472:12: warning: 'TLSv1_client_method' is deprecated (declared at /xd1/pkg/openssl11/include//openssl/ssl.h:1866) [-Wdeprecated-declarations]

            TLSv1_client_method () :

            ^

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

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

                                                 ^

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

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

                                                   ^

osdep.c: In function 'ssl_validate_cert':

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

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

                 ^

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

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

                            ^

osdep.c: In function 'ssl_server_init':

osdep.c:1072:12: warning: 'TLSv1_server_method' is deprecated (declared at /xd1/pkg/openssl11/include//openssl/ssl.h:1865) [-Wdeprecated-declarations]

            TLSv1_server_method () :

            ^

osdep.c: In function 'ssl_genkey':

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

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

     ^

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

make[2]: Leaving directory `/xd1/setup/sources/uw-imap/plain/c-client'

make[1]: *** [missing] Error 2

make[1]: Leaving directory `/xd1/setup/sources/uw-imap/plain/c-client'

make: *** [../c-client/c-client.a] Error 2

 
 
 
On February 15, 2019 01:52:09 pm EST, "Eduardo Chappa" <[email protected]> wrote:

Dear Erik,

   you can check if Alpine 2.21, from my site does the trick for you. There
is an IMAP directory there that contains the source code of Panda IMAP. I
develop Alpine and have to modify the buld system to account for these
changes.

   I will make more changes in the future, and keep up with it. Take a look
at

[1]http://alpine.x10host.com/alpine/release/index.html

for more information.

--
Eduardo

On Fri, 15 Feb 2019, Erik Kangas, Ph.D. wrote:

Hi All,

Has anyone progressed with compiling openssl 1.1.1 with panda IMAP?  If not,
is anyone interested in doing this as a small consulting project (which we
would make available to the group when done)?

Thanks,
-Erik Kangas
LuxSci
 
 
On September 27, 2018 01:02:46 pm EST, "Erik Kangas, Ph.D."
<[email protected]> 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.

 

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------!
--
----

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

References

Visible links
1. [2]https://luxsci.com/
2. [3]https://www.linkedin.com/in/erikkangas/
3. [4]https://luxsci.com/extranet/privacy.html
4. [5]http://mailman13.u.washington.edu/mailman/listinfo/imap-uw



--
Eduardo
 

References

Visible links
1. http://alpine.x10host.com/alpine/release/index.html
2. https://luxsci.com/
3. https://www.linkedin.com/in/erikkangas/
4. https://luxsci.com/extranet/privacy.html
5. http://mailman13.u.washington.edu/mailman/listinfo/imap-uw

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

Reply via email to