summaryrefslogtreecommitdiff
path: root/lib/gnutls_constate.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-10-28 09:21:32 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-10-28 09:21:32 +0000
commita4e8fc2b85e38f512bc15f835b5e3ecfa8a74ba4 (patch)
treec2d5c38995222b0816e9809b3b247aa080495d7e /lib/gnutls_constate.c
parent9eb184f76bf2a5632ea2cbc2564686a17e907792 (diff)
downloadgnutls-a4e8fc2b85e38f512bc15f835b5e3ecfa8a74ba4.tar.gz
GNUTLS_E_UNKNOWN_ERROR was removed, and was replaced by GNUTLS_E_INTERNAL_ERROR.
Diffstat (limited to 'lib/gnutls_constate.c')
-rw-r--r--lib/gnutls_constate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_constate.c b/lib/gnutls_constate.c
index f55adbf5f6..c09def2b72 100644
--- a/lib/gnutls_constate.c
+++ b/lib/gnutls_constate.c
@@ -600,7 +600,7 @@ int _gnutls_read_connection_state_init(gnutls_session session)
default: /* this check is useless */
gnutls_assert();
- return GNUTLS_E_UNKNOWN_ERROR;
+ return GNUTLS_E_INTERNAL_ERROR;
}
session->connection_state.read_compression_state =
@@ -779,7 +779,7 @@ int _gnutls_write_connection_state_init(gnutls_session session)
default:
gnutls_assert();
- return GNUTLS_E_UNKNOWN_ERROR;
+ return GNUTLS_E_INTERNAL_ERROR;
}