]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
*** empty log message ***
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 20 Sep 2002 14:53:56 +0000 (14:53 +0000)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 20 Sep 2002 14:53:56 +0000 (14:53 +0000)
NEWS
configure.in
lib/gnutls_cert.c

diff --git a/NEWS b/NEWS
index 2db3e6012185dfa1e6a43c2ad6dd4cffc71b6005..6da53b2c671d12081e6078ab8b7cc2ed51eac9c9 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@ Version 0.5.8
 - Added gnutls_record_get_direction() which replaces the obsolete
   gnutls_handshake_get_direction().
 - Added function to convert error codes to alert descriptions
+- Added LZO compression
 
 Version 0.5.7 (11/09/2002)
 - Some fixes in the memory allocation functions (realloc).
index c6c063810984d58d25b1e7641f8e4204acd4d86e..fc319f6402416a4d8f8071f764b0a41ae28ca256 100644 (file)
@@ -162,10 +162,11 @@ AC_MSG_RESULT([***
 ])
 
 AC_CHECK_SIZEOF(unsigned long long, 8)
-AC_CHECK_SIZEOF(unsigned long int, 4)
+AC_CHECK_SIZEOF(unsigned long, 4)
 AC_CHECK_SIZEOF(unsigned int, 4)
-AC_CHECK_SIZEOF(unsigned short int, 2)
+AC_CHECK_SIZEOF(unsigned short, 2)
 AC_CHECK_SIZEOF(unsigned char, 1)
+AC_CHECK_SIZEOF(unsigned char*, 4)
 
 AC_CHECK_TYPES(ptrdiff_t,,, [
 # include <sys/types.h>
@@ -187,7 +188,6 @@ AC_SUBST( DEFINE_SIZE_T)
 #endif
 ])
 
-
 AC_CHECK_TYPE(time_t,
  DEFINE_TIME_T="#include <time.h>"
  AC_SUBST( DEFINE_TIME_T)
index 3113fc04bacdd0edaa04fec8e59e4327d5c62666..0704d7ad2b26d0d49297df58d56e5a893a3f6bcb 100644 (file)
@@ -245,7 +245,9 @@ void gnutls_certificate_server_set_request(gnutls_session session,
   * This function specifies what we, in case of a client, are going
   * to do when we have to send a certificate. If this callback
   * function is not provided then gnutls will automaticaly try to
-  * find an appropriate certificate to send.
+  * find an appropriate certificate to send. The appropriate certificate
+  * is chosen based on the CAs sent by the server, and the requested
+  * public key algorithms.
   *
   * If the callback function is provided then gnutls will call it
   * once with NULL parameters. If the callback function returns
@@ -375,11 +377,11 @@ int _gnutls_openpgp_cert_verify_peers(gnutls_session session)
   * gnutls_certificate_verify_peers - This function returns the peer's certificate verification status
   * @session: is a gnutls session
   *
-  * This function will try to verify the peer's certificate and return it's status (trusted, invalid etc.). 
-  * However you must also check the peer's name in order to check if the verified certificate belongs to the 
-  * actual peer. 
+  * This function will try to verify the peer's certificate and return it's status (trusted, invalid etc.).
+  * However you must also check the peer's name in order to check if the verified certificate belongs to the
+  * actual peer.
   *
-  * The return value should be one or more of the gnutls_certificate_status 
+  * The return value should be one or more of the gnutls_certificate_status
   * enumerated elements bitwise or'd. This is the same as
   * gnutls_x509_verify_certificate().
   *
@@ -429,7 +431,7 @@ time_t gnutls_certificate_expiration_time_peers(gnutls_session session)
                gnutls_assert();
                return (time_t) -1;
        }
-       
+
        if (info->raw_certificate_list == NULL || info->ncerts == 0) {
                gnutls_assert();
                return (time_t) -1;