gnutls-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU gnutls branch, master, updated. gnutls_3_0_0-124-g51a2e5f


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU gnutls branch, master, updated. gnutls_3_0_0-124-g51a2e5f
Date: Tue, 30 Aug 2011 13:45:14 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU gnutls".

http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=51a2e5f73c0d211a8a5243cd6d84451f26b39837

The branch, master has been updated
       via  51a2e5f73c0d211a8a5243cd6d84451f26b39837 (commit)
       via  f98518f0198da3306cdcc49545f34bb83849ce03 (commit)
       via  c97df8be184c1d9f294b973fd73599e5f0a3e81a (commit)
      from  85c70639b4a51833e254726f47ec74b788deaa56 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 51a2e5f73c0d211a8a5243cd6d84451f26b39837
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Tue Aug 30 15:44:53 2011 +0200

    Corrected error checking in _gnutls_send_int().

commit f98518f0198da3306cdcc49545f34bb83849ce03
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Mon Aug 29 21:02:11 2011 +0200

    doc updates

commit c97df8be184c1d9f294b973fd73599e5f0a3e81a
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Mon Aug 29 20:10:45 2011 +0200

    removed unneeded header. Documented updates.

-----------------------------------------------------------------------

Summary of changes:
 NEWS                  |    3 +++
 doc/cha-gtls-app.texi |   14 +++++++++-----
 lib/gnutls_record.c   |    2 +-
 src/certtool-cfg.c    |    4 ----
 src/common.h          |    1 -
 5 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/NEWS b/NEWS
index a184ec9..7bfcd36 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,9 @@ See the end for copying conditions.
 
 * Version 3.0.2 (unreleased)
 
+** libgnutls: Compatibility fixes in CPU ID detection 
+for i386 and old GCC.
+
 ** gnutls-cli: Benchmark applications were incorporated
 with it.
 
diff --git a/doc/cha-gtls-app.texi b/doc/cha-gtls-app.texi
index 3d115bb..ea43dde 100644
--- a/doc/cha-gtls-app.texi
+++ b/doc/cha-gtls-app.texi
@@ -687,13 +687,15 @@ information about it.
 Several TLS ciphersuites require additional parameters that
 need to be generated or provided by the application. The
 Diffie-Hellman based ciphersuites (ANON-DH or DHE), require
-the group information to be provided. This information can be either
+the group parameters to be provided. Those can either be
 be generated on the fly using @funcref{gnutls_dh_params_generate2}
-or imported from some pregenerated value using 
@funcref{gnutls_dh_params_import_pkcs3}.
-The parameters can be used in a session by calling
+or imported from pregenerated data using 
@funcref{gnutls_dh_params_import_pkcs3}.
+The parameters can be used in a @acronym{TLS} session by calling
 @funcref{gnutls_certificate_set_dh_params} or
 @funcref{gnutls_anon_set_server_dh_params} for anonymous sessions.
 
address@hidden,gnutls_dh_params_deinit}
+
 
@showfuncD{gnutls_dh_params_generate2,gnutls_dh_params_import_pkcs3,gnutls_certificate_set_dh_params,gnutls_anon_set_server_dh_params}
 
 Due to the time-consuming calculations required for the generation
@@ -702,16 +704,18 @@ of them within an application. The @code{certtool} tool 
can be used to
 generate or export known safe values that can be stored in code
 or in a configuration file to provide the ability to replace. We also
 recommend the usage of @funcref{gnutls_sec_param_to_pk_bits} (see 
@ref{Selecting cryptographic key sizes}) to determine
-the bit size of the parameters to be generated.
+the bit size of the generated parameters.
 
 The ciphersuites that involve the RSA-EXPORT key exchange require
 additional parameters. Those ciphersuites are rarely used today
 because they are by design insecure, thus if you have no requirement
-for them, this section should be skipped. The RSA-EXPORT key exchange
+for them, the rest of this section can be skipped. The RSA-EXPORT key exchange
 requires 512-bit RSA keys to be generated. It is recommended those
 parameters to be refreshed (regenerated) in short intervals. The
 following functions can be used for these parameters.
 
address@hidden,gnutls_rsa_params_deinit}
+
 
@showfuncD{gnutls_rsa_params_generate2,gnutls_certificate_set_rsa_export_params,gnutls_rsa_params_import_pkcs1,gnutls_rsa_params_export_pkcs1}
 
 To allow renewal of the parameters within an application without
diff --git a/lib/gnutls_record.c b/lib/gnutls_record.c
index c0806ab..2998530 100644
--- a/lib/gnutls_record.c
+++ b/lib/gnutls_record.c
@@ -348,7 +348,7 @@ _gnutls_send_int (gnutls_session_t session, content_type_t 
type,
                   size_t data_size, unsigned int mflags)
 {
   mbuffer_st *bufel;
-  size_t cipher_size;
+  ssize_t cipher_size;
   int retval, ret;
   int data2send_size;
   uint8_t headers[MAX_RECORD_HEADER_SIZE];
diff --git a/src/certtool-cfg.c b/src/certtool-cfg.c
index 90284e3..69c54be 100644
--- a/src/certtool-cfg.c
+++ b/src/certtool-cfg.c
@@ -803,10 +803,6 @@ get_tls_server_status (void)
     }
 }
 
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <arpa/inet.h>
-
 /* convert a printable IP to binary */
 static int
 string_to_ip (unsigned char *ip, const char *str)
diff --git a/src/common.h b/src/common.h
index f89592c..6fa5ab7 100644
--- a/src/common.h
+++ b/src/common.h
@@ -4,7 +4,6 @@
 #include <gnutls/gnutls.h>
 
 #include <sys/socket.h>
-#include <arpa/inet.h>
 #include <netdb.h>
 #include <unistd.h>
 #include <netinet/in.h>


hooks/post-receive
-- 
GNU gnutls



reply via email to

[Prev in Thread] Current Thread [Next in Thread]