Opened 13 years ago

Closed 13 years ago

#29962 closed defect (fixed)

glib2's networking doesn't support TLS

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: gio tls Cc:
Port: glib2

Description

glib2 reports that it doesn't support TLS.

This is blocking a newer libsoup which is blocking a newer webkit-gtk.

~/tmp $ cat test-glib-networking.c 
#include <gio/gio.h>
#include <stdio.h>

int main() {
    int supported;
    g_type_init();
    supported = g_tls_backend_supports_tls(g_tls_backend_get_default());

    printf("%s\n", supported ? "YES" : "NO");
}

~/tmp $ gcc test-glib-networking.c `/opt/local/bin/pkg-config gio-2.0 --cflags` `/opt/local/bin/pkg-config gio-2.0 --libs` -o test && ./test
NO

Change History (2)

comment:1 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Owner: changed from ryandesign@… to jeremyhu@…
Port: glib2 added; gelib2 removed
Status: newassigned

Ah wait... I think I misunderstand how all this glib-foo sticks together... it looks like we need glib-networking (which is a separate install):

http://git.gnome.org/browse/glib-networking

comment:2 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.