From: Nikos Mavrogiannopoulos Date: Mon, 7 Feb 2011 16:06:03 +0000 (+0100) Subject: Corrected return message from check_recv_type(). X-Git-Tag: gnutls_2_99_0~302 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51c63cd868f03376b9eec942963425a8021eff5a;p=thirdparty%2Fgnutls.git Corrected return message from check_recv_type(). --- diff --git a/lib/gnutls_record.c b/lib/gnutls_record.c index b85c7827dd..66f85ca2a5 100644 --- a/lib/gnutls_record.c +++ b/lib/gnutls_record.c @@ -524,7 +524,7 @@ check_recv_type (content_type_t recv_type) return 0; default: gnutls_assert (); - return GNUTLS_A_UNEXPECTED_MESSAGE; + return GNUTLS_E_UNEXPECTED_PACKET; } }