After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 792771 - Build failure due to OpenSSL changes
Build failure due to OpenSSL changes
Status: RESOLVED FIXED
Product: glib-openssl
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: glib-openssl Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-01-22 08:18 UTC by Iñigo Martínez
Modified: 2018-01-23 09:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add option SSL_OP_NO_RENEGOTIATION on openssl 1.1.0 (1.84 KB, patch)
2018-01-23 09:48 UTC, Ignacio Casal Quinteiro (nacho)
committed Details | Review

Description Iñigo Martínez 2018-01-22 08:18:06 UTC
glib-openssl fails in both autotools and meson due to changes in OpenSSL. The error is as follows:

../tls/openssl/gtlsserverconnection-openssl.c: In function ‘ssl_info_callback’:
../tls/openssl/gtlsserverconnection-openssl.c:220:10: error: dereferencing pointer to incomplete type ‘SSL {aka const struct ssl_st}’
       ssl->s3->flags |= SSL3_FLAGS_NO_RENEGOTIATE_CIPHERS;

The reason behind this error is better explained in the following PR: https://github.com/openssl/openssl/pull/4901
Comment 1 Ignacio Casal Quinteiro (nacho) 2018-01-23 09:48:43 UTC
Created attachment 367286 [details] [review]
Add option SSL_OP_NO_RENEGOTIATION on openssl 1.1.0

This is instead of using the info callback which is not
supported on the new version of openssl
Comment 2 Ignacio Casal Quinteiro (nacho) 2018-01-23 09:50:18 UTC
Thanks for the report

Attachment 367286 [details] pushed as 4a571b0 - Add option SSL_OP_NO_RENEGOTIATION on openssl 1.1.0