summaryrefslogtreecommitdiff
path: root/lib/errors.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-01-17 15:05:35 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-01-18 15:33:34 +0100
commit6a62ddfc416a4ec2118704f93c97fdd448d66566 (patch)
tree42d401894560d157fcfd251382f830e833408a07 /lib/errors.c
parent09db170c9269c675491781a151626369ddc2c4d7 (diff)
downloadgnutls-6a62ddfc416a4ec2118704f93c97fdd448d66566.tar.gz
Refuse to send data during handshake
That prevents buggy applications from transmitting sensitive data during handshake. Resolves #158 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/errors.c')
-rw-r--r--lib/errors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/errors.c b/lib/errors.c
index cb3c8893ed..e17ce86557 100644
--- a/lib/errors.c
+++ b/lib/errors.c
@@ -399,7 +399,7 @@ static const gnutls_error_entry error_entries[] = {
GNUTLS_E_UNRECOGNIZED_NAME),
ERROR_ENTRY(N_("There was an issue converting to or from UTF8."),
GNUTLS_E_IDNA_ERROR),
- ERROR_ENTRY(N_("Cannot obtain resumption parameters while handshake is incomplete."),
+ ERROR_ENTRY(N_("Cannot perform this action while handshake is in progress."),
GNUTLS_E_UNAVAILABLE_DURING_HANDSHAKE),
ERROR_ENTRY(N_("The obtained public key is invalid."),
GNUTLS_E_PK_INVALID_PUBKEY),