gnutls: fix up pollable source creation
authorDan Winship <danw@gnome.org>
Thu, 9 Dec 2010 18:58:40 +0000 (19:58 +0100)
committerDan Winship <danw@gnome.org>
Thu, 9 Dec 2010 18:58:40 +0000 (19:58 +0100)
commitefa7cefaacc2380d27ccac3df205037dd4e82986
tree4d99c7126aed83c7aafb3b7262e976d42a12b75c
parent09cd9d0414f40c3f5a9c6ded4908d3ff7d1c6dde
gnutls: fix up pollable source creation

When handshaking, it doesn't matter what I/O direction the application
is waiting for, only what direction gnutls is waiting for. We were
doing this correctly in check(), but not in create_source().
tls/gnutls/gtlsconnection-gnutls.c