Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#11929 closed task (fixed)

Adapt glib-networking to GnuTLS-3.6.7 API Changes

Reported by: Douglas R. Reno Owned by: Douglas R. Reno
Priority: normal Milestone: 9.0
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

GnuTLS-3.6.7 introduced a new API, G_TLS_ERROR_CERTIFICATE_REQUIRED. This new API breaks glib-networking's ability to use GnuTLS for TLS support/certificate handling, which was originally exhibited by the connection-tls (glib-networking) and test-ssl (libsoup) tests failing.

In order to fix this, we need to apply the following commits via a patch:

https://gitlab.gnome.org/GNOME/glib-networking/commit/1ce6b40da8ecbf997c5522a592a122e805aa81c4 https://gitlab.gnome.org/GNOME/glib-networking/commit/91fdd674c316af0873d495f85f9c220b6e9e0132

Change History (4)

comment:1 by Douglas R. Reno, 5 years ago

Owner: changed from blfs-book to Douglas R. Reno
Status: newassigned

comment:2 by Douglas R. Reno, 5 years ago

With the patch that I just crafted, things are looking much better:

glib-networking

[0/1] Running all tests.
1/4 gnome                                   OK       0.01 s 
2/4 certificate-gnutls                      OK       0.02 s 
3/4 file-database-gnutls                    OK       0.07 s 
4/4 connection-gnutls                       OK       3.38 s 

Ok:                    4
Expected Fail:         0
Fail:                  0
Unexpected Pass:       0
Skipped:               0
Timeout:               0

libsoup

[0/1] Running all tests.
 1/33 cache-test                              OK       0.08 s 
 2/33 chunk-test                              OK       0.07 s 
 3/33 chunk-io-test                           OK       0.22 s 
 4/33 coding-test                             OK       0.07 s 
 5/33 context-test                            OK       1.67 s 
 6/33 continue-test                           OK       0.07 s 
 7/33 cookies-test                            OK       0.07 s 
 8/33 date-test                               OK       0.01 s 
 9/33 forms-test                              OK       0.12 s 
10/33 header-parsing-test                     OK       0.01 s 
11/33 misc-test                               OK       0.77 s 
12/33 multipart-test                          OK       0.07 s 
13/33 no-ssl-test                             OK       0.01 s 
14/33 ntlm-test                               OK       0.12 s 
15/33 redirect-test                           OK       0.12 s 
16/33 requester-test                          OK       0.07 s 
17/33 resource-test                           OK       0.07 s 
18/33 session-test                            OK       0.37 s 
19/33 server-auth-test                        OK       0.22 s 
20/33 server-test                             OK       0.57 s 
21/33 sniffing-test                           OK       0.12 s 
22/33 socket-test                             OK       0.01 s 
23/33 ssl-test                                OK       0.67 s 
24/33 streaming-test                          OK       0.06 s 
25/33 timeout-test                            OK       8.67 s 
26/33 tld-test                                OK       0.01 s 
27/33 uri-parsing-test                        OK       0.06 s 
28/33 websocket-test                          OK       0.07 s 
29/33 auth-test                               OK       5.12 s 
30/33 connection-test                         OK       1.52 s 
31/33 range-test                              OK       1.12 s 
32/33 proxy-test                              OK       1.27 s 
33/33 pull-api-test                           OK       1.47 s 

Ok:                   33
Expected Fail:         0
Fail:                  0
Unexpected Pass:       0
Skipped:               0
Timeout:               0

Full log written to /sources/libsoup-2.66.1/libsoup-2.66.1/build/meson-logs/testlog.txt

That means the note about glib-networking having a test failure can go too.

comment:3 by Douglas R. Reno, 5 years ago

Resolution: fixed
Status: assignedclosed

Patch added at r3913

Fixed at r21449

comment:4 by Bruce Dubbs, 5 years ago

Milestone: 8.59.0

Milestone renamed

Note: See TracTickets for help on using tickets.