From: Nikos Mavrogiannopoulos Date: Fri, 20 Sep 2002 14:53:56 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: gnutls_0_5_8~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db8406b795d6a06ff58ead5b0ba5260652cddda5;p=thirdparty%2Fgnutls.git *** empty log message *** --- diff --git a/NEWS b/NEWS index 2db3e60121..6da53b2c67 100644 --- 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). diff --git a/configure.in b/configure.in index c6c0638109..fc319f6402 100644 --- a/configure.in +++ b/configure.in @@ -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 @@ -187,7 +188,6 @@ AC_SUBST( DEFINE_SIZE_T) #endif ]) - AC_CHECK_TYPE(time_t, DEFINE_TIME_T="#include " AC_SUBST( DEFINE_TIME_T) diff --git a/lib/gnutls_cert.c b/lib/gnutls_cert.c index 3113fc04ba..0704d7ad2b 100644 --- a/lib/gnutls_cert.c +++ b/lib/gnutls_cert.c @@ -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;