- 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).
])
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>
#endif
])
-
AC_CHECK_TYPE(time_t,
DEFINE_TIME_T="#include <time.h>"
AC_SUBST( DEFINE_TIME_T)
* 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
* 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().
*
gnutls_assert();
return (time_t) -1;
}
-
+
if (info->raw_certificate_list == NULL || info->ncerts == 0) {
gnutls_assert();
return (time_t) -1;