summaryrefslogtreecommitdiff
path: root/lib/auth_rsa_export.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_rsa_export.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_rsa_export.c')
-rw-r--r--lib/auth_rsa_export.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/auth_rsa_export.c b/lib/auth_rsa_export.c
index 64c551ba96..8604fce433 100644
--- a/lib/auth_rsa_export.c
+++ b/lib/auth_rsa_export.c
@@ -256,7 +256,7 @@ static int proc_rsa_export_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;
}
@@ -343,7 +343,7 @@ static int proc_rsa_export_server_kx(gnutls_session session, opaque * data,
default:
gnutls_assert();
- return GNUTLS_E_UNKNOWN_ERROR;
+ return GNUTLS_E_INTERNAL_ERROR;
}
ret =