From: Simon Josefsson Date: Fri, 11 Sep 2009 17:43:10 +0000 (+0200) Subject: Add debug message. X-Git-Tag: gnutls_2_9_6~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4e60ed0235e413a199d1479e2bc78a9abedbb4d8;p=thirdparty%2Fgnutls.git Add debug message. Tiny patch from Miroslav Kratochvil in . --- diff --git a/lib/gnutls_cipher.c b/lib/gnutls_cipher.c index 565a0002f0..0d8c5e1da0 100644 --- a/lib/gnutls_cipher.c +++ b/lib/gnutls_cipher.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2008 Free Software Foundation + * Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009 Free Software Foundation * * Author: Nikos Mavrogiannopoulos * @@ -571,7 +571,10 @@ _gnutls_ciphertext2compressed (gnutls_session_t session, * 1.0 protocol. */ if (pad_failed != 0) - return pad_failed; + { + gnutls_assert (); + return pad_failed; + } /* HMAC was not the same. */