summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-05-30 10:47:12 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-05-31 14:50:22 +0200
commita0a37ed0e80117c4a5ea80c101e75b8c46905d5a (patch)
tree256417b6bbc74bbba22215c30b05de30f13217e2
parent7288a41662fd8c17fd2af6417b64ff97ee8fee93 (diff)
downloadgnutls-a0a37ed0e80117c4a5ea80c101e75b8c46905d5a.tar.gz
GNUTLS_E_INSUFFICIENT_SECURITY: moved to fatal errors
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r--lib/errors.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/errors.c b/lib/errors.c
index bd39172803..f870426a44 100644
--- a/lib/errors.c
+++ b/lib/errors.c
@@ -414,6 +414,8 @@ static const gnutls_error_entry error_entries[] = {
GNUTLS_E_ASN1_TIME_ERROR),
ERROR_ENTRY(N_("The signature is incompatible with the public key."),
GNUTLS_E_INCOMPATIBLE_SIG_WITH_KEY),
+ ERROR_ENTRY(N_("One of the involved algorithms has insufficient security level."),
+ GNUTLS_E_INSUFFICIENT_SECURITY),
{NULL, NULL, 0}
};
@@ -432,8 +434,7 @@ static const gnutls_error_entry non_fatal_error_entries[] = {
ERROR_ENTRY(N_("Function was interrupted."), GNUTLS_E_INTERRUPTED),
ERROR_ENTRY(N_("Rehandshake was requested by the peer."),
GNUTLS_E_REHANDSHAKE),
- ERROR_ENTRY(N_("One of the involved algorithms has insufficient security level."),
- GNUTLS_E_INSUFFICIENT_SECURITY),
+ /* Only non fatal (for handshake) errors here */
{NULL, NULL, 0}
};