summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-02-17 22:57:40 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-02-18 02:03:02 +0100
commit31c09710c06478dc6d3892e8a95864cf22d712f2 (patch)
tree0dc90a8d86494377767e46a3201e326d7da6048b
parent3bad71af582ab6971653ce71fffa16287f9646e5 (diff)
downloadgnutls-dtls.tar.gz
fix for dtls.dtls
-rw-r--r--lib/auth_dhe.c1
-rw-r--r--lib/gnutls_algorithms.c1
-rw-r--r--lib/gnutls_cipher.c2
3 files changed, 3 insertions, 1 deletions
diff --git a/lib/auth_dhe.c b/lib/auth_dhe.c
index b714e6402d..fafef62ffc 100644
--- a/lib/auth_dhe.c
+++ b/lib/auth_dhe.c
@@ -253,6 +253,7 @@ proc_dhe_server_kx (gnutls_session_t session, opaque * data,
sign_algo = _gnutls_tls_aid_to_sign (&aid);
if (sign_algo == GNUTLS_SIGN_UNKNOWN)
{
+ _gnutls_x509_log("unknown signature %d.%d\n", aid.sign_algorithm, aid.hash_algorithm);
gnutls_assert ();
return GNUTLS_E_UNSUPPORTED_SIGNATURE_ALGORITHM;
}
diff --git a/lib/gnutls_algorithms.c b/lib/gnutls_algorithms.c
index 25f1454b0c..2b2303fea0 100644
--- a/lib/gnutls_algorithms.c
+++ b/lib/gnutls_algorithms.c
@@ -1413,6 +1413,7 @@ _gnutls_version_has_selectable_sighash (gnutls_protocol_t version)
{
switch (version)
{
+ case GNUTLS_DTLS1_0:
case GNUTLS_TLS1_1:
case GNUTLS_TLS1_0:
case GNUTLS_SSL3:
diff --git a/lib/gnutls_cipher.c b/lib/gnutls_cipher.c
index 5818394f3e..eeee430934 100644
--- a/lib/gnutls_cipher.c
+++ b/lib/gnutls_cipher.c
@@ -52,7 +52,7 @@ static int _gnutls_ciphertext2compressed (gnutls_session_t session,
opaque * compress_data,
int compress_size,
gnutls_datum_t ciphertext, uint8_t type,
- record_parameters_st * params);
+ record_parameters_st * params, uint64* sequence);
inline static int
is_write_comp_null (record_parameters_st * record_params)