UW IMAP/Panda compiling with openssl 1.1.x...?
"Erik Kangas, Ph.D." <[email protected]> Thu, 27 Sep 2018 16:59:37 +0000
| Newsgroups | gmane.mail.imap.uw.c-client |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
If you cannot view the attachment(s), then your email client does not
support MIME.
--------------------_Boundary_91116201.7639451
Content-Type: multipart/alternative; boundary="-------------426569.445155374"
---------------426569.445155374
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
Hi all,
Now that openssl 1.1.1 has TLS 1.3 included, I am trying to re-compile=20
panda imap with this instead of the latest openssl 1.0.x.=C2=A0 I am=20
getting compilation errors (below).=C2=A0 I wonder if anyone has gone=20
though this process and has a patch?=C2=A0 Secondarily, I wonder if anyone=
=20
has gone and added a patch to enable TLS 1.3?
Thanks!
-Erik Kangas
~~~~~~~~=C2=A0 Compile errors:
=C2=A0
osdep.c: In function =E2=80=98ssl_start_work=E2=80=99:
osdep.c:436:12: warning: =E2=80=98TLSv1_client_method=E2=80=99 is deprecate=
d=20
(declared at /xd1/pkg/openssl/include//openssl/ssl.h:1854)=20
[-Wdeprecated-declarations]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 TLSv1_client_method () :
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^
osdep.c:486:49: error: dereferencing pointer to incomplete type
=C2=A0=C2=A0 =C2=A0 if (scq) return (*scq) (err,host,cert ? cert->name : "?=
??") ?=20
NIL : "";
=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 ^
osdep.c:488:51: error: dereferencing pointer to incomplete type
=C2=A0=C2=A0 =C2=A0 sprintf (tmp,"*%.128s: %.255s",err,cert ? cert->name : =
"???");
=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^
osdep.c: In function =E2=80=98ssl_validate_cert=E2=80=99:
osdep.c:538:17: error: dereferencing pointer to incomplete type
=C2=A0=C2=A0 else if (!cert->name) ret =3D "No name in certificate";
=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^
osdep.c:540:28: error: dereferencing pointer to incomplete type
=C2=A0=C2=A0 else if (s =3D strstr (cert->name,"/CN=3D")) {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 ^
osdep.c: In function =E2=80=98ssl_server_init=E2=80=99:
osdep.c:911:12: warning: =E2=80=98TLSv1_server_method=E2=80=99 is deprecate=
d=20
(declared at /xd1/pkg/openssl/include//openssl/ssl.h:1853)=20
[-Wdeprecated-declarations]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 TLSv1_server_method () :
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^
osdep.c: In function =E2=80=98ssl_genkey=E2=80=99:
osdep.c:982:5: warning: =E2=80=98RSA_generate_key=E2=80=99 is deprecated (d=
eclared=20
at /xd1/pkg/openssl/include/openssl/rsa.h:234)=20
[-Wdeprecated-declarations]
=C2=A0=C2=A0 =C2=A0 if (!(key =3D RSA_generate_key (export ? keylength :=20
1024,RSA_F4,NIL,NIL))) {
=C2=A0=C2=A0 =C2=A0 ^
make[3]: *** [osdep.o] Error 1
~~~~~~~
=C2=A0
Erik Kangas, PhD
CEO
+1 617.596.9558
[email protected]
[1]www.LuxSci.com
[2]Erik on LinkedIn
=C2=A0
=C2=A0
This email communication is covered under LuxSci's [3]privacy policy.
=C2=A0
References
Visible links
1. https://luxsci.com/
2. https://www.linkedin.com/in/erikkangas/
3. https://luxsci.com/extranet/privacy.html
---------------426569.445155374
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML>
<HTML>
<HEAD><meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF=
-8"></HEAD>
<BODY style=3D"padding:5px; line-height: 1.3em; font-size: 14px; color: #33=
3; background-color: #FFF; font-family: Arial, Helvetica, sans-serif">
<div>Hi all,<br />
<br />
Now that openssl 1.1.1 has TLS 1.3 included, I am trying to re-compile pand=
a imap with this instead of the latest openssl 1.0.x. I am getting co=
mpilation errors (below). I wonder if anyone has gone though this pro=
cess and has a patch? Secondarily, I wonder if anyone has gone and ad=
ded a patch to enable TLS 1.3?<br />
<br />
Thanks!<br />
-Erik Kangas<br />
<br />
<br />
<br />
<br />
~~~~~~~~ Compile errors:<br />
<p><b>osdep.c:</b> In function ‘<b>ssl_start_work</b>’:</p>
<p><b>osdep.c:436:12:</b> <b>warning: </b>‘<b>TLSv1_client_method</b>=
’ is deprecated (declared at <b>/xd1/pkg/openssl/include//openssl/ssl=
.h:1854</b>) [-Wdeprecated-declarations]</p>
<p> TLSv1_client_method () :</p>
<p><b> ^</b></p>
<p><b>osdep.c:486:49:</b> <b>error: </b>dereferencing pointer to incomplete=
type</p>
<p> if (scq) return (*scq) (err,host,cert ? cert->nam=
e : "???") ? NIL : "";</p>
<p><b> =
 =
; ^</b></p>
<p><b>osdep.c:488:51:</b> <b>error: </b>dereferencing pointer to incomplete=
type</p>
<p> sprintf (tmp,"*%.128s: %.255s",err,cert ? =
cert->name : "???");</p>
<p><b> =
 =
; ^</b></p>
<p><b>osdep.c:</b> In function ‘<b>ssl_validate_cert</b>’:</p>
<p><b>osdep.c:538:17:</b> <b>error: </b>dereferencing pointer to incomplete=
type</p>
<p> else if (!cert->name) ret =3D "No name in certifica=
te";</p>
<p><b> ^</b></=
p>
<p><b>osdep.c:540:28:</b> <b>error: </b>dereferencing pointer to incomplete=
type</p>
<p> else if (s =3D strstr (cert->name,"/CN=3D")) {=
</p>
<p><b> =
^</b></p>
<p><b>osdep.c:</b> In function ‘<b>ssl_server_init</b>’:</p>
<p><b>osdep.c:911:12:</b> <b>warning: </b>‘<b>TLSv1_server_method</b>=
’ is deprecated (declared at <b>/xd1/pkg/openssl/include//openssl/ssl=
.h:1853</b>) [-Wdeprecated-declarations]</p>
<p> TLSv1_server_method () :</p>
<p><b> ^</b></p>
<p><b>osdep.c:</b> In function ‘<b>ssl_genkey</b>’:</p>
<p><b>osdep.c:982:5:</b> <b>warning: </b>‘<b>RSA_generate_key</b>&rsq=
uo; is deprecated (declared at <b>/xd1/pkg/openssl/include/openssl/rsa.h:23=
4</b>) [-Wdeprecated-declarations]</p>
<p> if (!(key =3D RSA_generate_key (export ? keylength :=
1024,RSA_F4,NIL,NIL))) {</p>
<p><b> ^</b></p>
<p>make[3]: *** [osdep.o] Error 1</p>
~~~~~~~<br />
<br />
<br />
<br />
</div>
<div id=3D"signature"><!--SIG-->
<div style=3D"background-image: url('https://djrufvackyewl.cloudfront.net/s=
3/2018/LuxSci_Sig2018.png'); width: 575px; height: 209px">
<div style=3D"box-sizing: content-box; padding: 20px 0 0 200px; color: #221=
f43; font-size: 18px; font-family: sans-serif; vertical-align:top; font-wei=
ght: bold; height: 25px">Erik Kangas, PhD</div>
<div style=3D"box-sizing: content-box; padding: 0 0 0 200px; color: #99cdde=
; font-size: 18px; font-family: sans-serif; vertical-align:top; height: 25p=
x">CEO</div>
<div style=3D"box-sizing: content-box; padding: 35px 0 0 230px; color: #333=
; font-size: 14px; font-family: sans-serif; vertical-align:top; height: 15p=
x">
<div style=3D"display:inline-block; width: 190px">+1 617.596.9558</div>
<div style=3D"display:inline-block; width: 150px">[email protected]</div>
</div>
<div style=3D"box-sizing: content-box; padding: 15px 0 0 230px; color: #333=
; font-size: 14px; font-family: sans-serif; vertical-align:top; height: 15p=
x">
<div style=3D"display:inline-block; width: 190px"><a href=3D"https://luxsci=
.com" style=3D"color: #333;text-decoration:none" target=3D"_blank">www.LuxS=
ci.com</a></div>
<div style=3D"display:inline-block; width: 150px"><a href=3D"https://www.li=
nkedin.com/in/erikkangas/" style=3D"color: #333;text-decoration:none" targe=
t=3D"_blank">Erik on LinkedIn</a></div>
</div>
<div style=3D"box-sizing: content-box; padding: 25px 0 0 0; height: 35px">
<div style=3D"display:inline-block; cursor:pointer; width:575px; height: 28=
px;"> </div>
</div>
</div>
<p style=3D"color: #333; font-size: 14px; font-family: sans-serif;">This em=
ail communication is covered under LuxSci's <a href=3D"https://luxsci.c=
om/extranet/privacy.html">privacy policy</a>.</p>
<!--/SIG--></div>
<div> </div>
</BODY>
</HTML>
---------------426569.445155374--
--------------------_Boundary_91116201.7639451
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Imap-uw mailing list
[email protected]
http://mailman13.u.washington.edu/mailman/listinfo/imap-uw
--------------------_Boundary_91116201.7639451--