diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-07-22 11:08:32 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-07-22 11:08:34 +0200 |
commit | 21c9b0fe979e1db946e04381042579c61e264511 (patch) | |
tree | 96c7abcd3ecd1949e853b255c7a5501974b4d24a /lib/errors.c | |
parent | 9f1e6d2c686372adb21097a3f22a32e82fecbdb4 (diff) | |
download | gnutls-21c9b0fe979e1db946e04381042579c61e264511.tar.gz |
introduced: GNUTLS_E_UNAVAILABLE_DURING_HANDSHAKE
This error code is returned when the session resumption parameters
are requested during a handshake. That is, to increase the clarity
when requesting these parameters while false start is active and
the handshake is not complete even if gnutls_handshake() has returned.
Relates #114
Diffstat (limited to 'lib/errors.c')
-rw-r--r-- | lib/errors.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/errors.c b/lib/errors.c index afa25ac0b8..021c1fcd40 100644 --- a/lib/errors.c +++ b/lib/errors.c @@ -386,6 +386,8 @@ 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."), + GNUTLS_E_UNAVAILABLE_DURING_HANDSHAKE), {NULL, NULL, 0} }; |