gnutls: retry handshake if it returns a non-fatal error
commitca82afbfb7ee9a083d13c7861408e5759f2509cd
authorLudovic Fauvet <etix@videolan.org>
Thu, 7 Feb 2013 16:21:06 +0000 (7 17:21 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 8 Feb 2013 12:26:04 +0000 (8 13:26 +0100)
treec90c10b5c7cb80fc84b665906c9c2238bec5d826
parentc1ec4dee751ae64e852aeba16c2322b35ddd8ac6
gnutls: retry handshake if it returns a non-fatal error

Based on the gnutls_handshake manual the function must be called again
until it returns 0 (or a fatal error).

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/misc/gnutls.c