summaryrefslogtreecommitdiff
path: root/lib/alert.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-09-21 16:40:43 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-02-19 15:29:35 +0100
commitaeb3353b48dfe08c851dc53bdc1914d3173d5909 (patch)
tree364ebfe0c65c9dd96cba7da2c9ed2789556c1d8c /lib/alert.c
parent98ffb853e3ed9244b82f6954fbb638da6799796f (diff)
downloadgnutls-aeb3353b48dfe08c851dc53bdc1914d3173d5909.tar.gz
handshake: send hello retry request when no key share matches
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/alert.c')
-rw-r--r--lib/alert.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/alert.c b/lib/alert.c
index b692ed6f9c..aec54615cf 100644
--- a/lib/alert.c
+++ b/lib/alert.c
@@ -218,6 +218,7 @@ int gnutls_error_to_alert(int err, int *level)
case GNUTLS_E_RECEIVED_ILLEGAL_PARAMETER:
case GNUTLS_E_ILLEGAL_SRP_USERNAME:
case GNUTLS_E_PK_INVALID_PUBKEY:
+ case GNUTLS_E_NO_COMMON_KEY_SHARE:
ret = GNUTLS_A_ILLEGAL_PARAMETER;
_level = GNUTLS_AL_FATAL;
break;