summaryrefslogtreecommitdiff
path: root/lib/auth_dhe.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/auth_dhe.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/auth_dhe.c')
-rw-r--r--lib/auth_dhe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/auth_dhe.c b/lib/auth_dhe.c
index 01a81275c3..795fdc04c7 100644
--- a/lib/auth_dhe.c
+++ b/lib/auth_dhe.c
@@ -193,7 +193,7 @@ static int proc_dhe_server_kx(gnutls_session session, opaque * data,
if (info == NULL || info->ncerts==0) {
gnutls_assert();
/* we need this in order to get peer's certificate */
- return GNUTLS_E_UNKNOWN_ERROR;
+ return GNUTLS_E_INTERNAL_ERROR;
}
ret = _gnutls_proc_dh_common_server_kx( session, data, _data_size);
@@ -239,7 +239,7 @@ static int proc_dhe_server_kx(gnutls_session session, opaque * data,
default:
gnutls_assert();
- return GNUTLS_E_UNKNOWN_ERROR;
+ return GNUTLS_E_INTERNAL_ERROR;
}
ret =