]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
*** empty log message ***
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 29 Dec 2003 21:51:47 +0000 (21:51 +0000)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 29 Dec 2003 21:51:47 +0000 (21:51 +0000)
NEWS
doc/TODO
lib/gnutls_cipher.c

diff --git a/NEWS b/NEWS
index 3a926bd3d7d71dba268abeb988c25117ceb3ef2d..3272871587af2f67fefcf3225522d32e291337d4 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,5 @@
 Version 1.1.3
-- Implemented TLS 1.1 (which obsoleted the TLS 1.0 CBC protection
+- Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
   hack).
 
 Version 1.1.2 (28/12/2003)
index 3d6a8afadb9a9312a64ad1b61bc23afbf7e641af..f57fb8608e4e1c4afd8e0a4db3b9f946ded0415f 100644 (file)
--- a/doc/TODO
+++ b/doc/TODO
@@ -3,7 +3,6 @@ anything), contact the developer's mailing list (gnutls-dev@lists.gnupg.org),
 in order to avoid having people working on the same thing. 
 
 Current list:
-* Add support for TLS 1.1
 * Add gnutls_certificate_set_openpgp_keyring()
   functions, similar to gnutls_certificate_set_openpgp_key().
 * Use subkeys with the 0x20 flag in openpgp keys (if present),
@@ -11,7 +10,6 @@ Current list:
 * Add function to extract the signers of an openpgp key. Should
   be similar to gnutls_x509_crt_get_dn_oid().
 * Add function to verify an openpgp key against a plain key.
-* Drop the compatibility functions.
 * Convert documentation to texinfo format
 * Audit the code
 * Allow sending V2 Hello messages. It seems that some (old) broken 
index b5e58c7928e974fae365212904f824c5ca90b955..2d19e0fb821a3735bfee6d46dada5498c98b66c0 100644 (file)
@@ -338,9 +338,11 @@ int _gnutls_compressed2ciphertext(gnutls_session session,
 
        /* Actual encryption (inplace).
         */
-       if ( (ret = _gnutls_cipher_encrypt(session->connection_state.
+       ret = _gnutls_cipher_encrypt(session->connection_state.
                              write_cipher_state, cipher_data, 
-                             length)) < 0) {
+                             length);
+       if (ret < 0) {
+               gnutls_assert();
                return ret;
        }