summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSystem User <nmav@crystal.(none)>2007-12-06 22:52:44 +0200
committerSystem User <nmav@crystal.(none)>2007-12-06 22:52:44 +0200
commite473a5a27e26ae09eb70ce695a6d057c1460bd3c (patch)
tree445a31ee03ae622fb28f836a7aee42bc8aa659dc
parentc92c5538e902e83013c91dd2e5609fa60cf2ba2b (diff)
downloadgnutls-e473a5a27e26ae09eb70ce695a6d057c1460bd3c.tar.gz
It seems we were ahead of our time.
-rw-r--r--lib/gnutls_record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_record.c b/lib/gnutls_record.c
index d4ff531078..b7d37d272a 100644
--- a/lib/gnutls_record.c
+++ b/lib/gnutls_record.c
@@ -502,7 +502,7 @@ check_recv_type (content_type_t recv_type)
return 0;
default:
gnutls_assert ();
- return GNUTLS_E_UNSUPPORTED_VERSION_PACKET;
+ return GNUTLS_A_UNEXPECTED_MESSAGE;
}
}