diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-01-10 14:21:42 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-01-11 00:26:51 +0100 |
commit | 1a338cbaaeec11d958de8da4d1ae036979fccf3e (patch) | |
tree | 5f5341d38761f3acc5167ad38983023033b4a0e5 /lib/gnutls_errors.c | |
parent | 581718c927838474200c305587241ae15511cb82 (diff) | |
download | gnutls-1a338cbaaeec11d958de8da4d1ae036979fccf3e.tar.gz |
Added safe renegotiation patch from Steve Dispensa, modified to suit gnutls
code style and error checking. Modified to conform to draft-ietf-tls-renegotiation-03.txt.
gnutls-cli will search input for **RENEGOTIATION** to perform a renegotiation
and gnutls-serv will perform one if requested.
Diffstat (limited to 'lib/gnutls_errors.c')
-rw-r--r-- | lib/gnutls_errors.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gnutls_errors.c b/lib/gnutls_errors.c index fdea4ef009..086386c4f1 100644 --- a/lib/gnutls_errors.c +++ b/lib/gnutls_errors.c @@ -220,6 +220,8 @@ static const gnutls_error_entry error_algorithms[] = { GNUTLS_E_OPENPGP_GETKEY_FAILED, 1), ERROR_ENTRY (N_("Could not find OpenPGP subkey."), GNUTLS_E_OPENPGP_SUBKEY_ERROR, 1), + ERROR_ENTRY (N_("Safe renegotiation failed."), + GNUTLS_E_SAFE_RENEGOTIATION_FAILED, 1), ERROR_ENTRY (N_("The SRP username supplied is illegal."), GNUTLS_E_ILLEGAL_SRP_USERNAME, 1), |