diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-01-23 15:29:27 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-01-23 15:29:27 +0000 |
commit | 6782035b7a7d786a65fbaeb70a4f5ef144ff0ed2 (patch) | |
tree | 0b54bc023ac52c4ac5bf6400c12f7c73472bd415 /lib/gnutls_errors.c | |
parent | 741a2d18cf5e9a4db4426b51707bcb80c2b506a0 (diff) | |
download | gnutls-6782035b7a7d786a65fbaeb70a4f5ef144ff0ed2.tar.gz |
Added check and error code for some SRP fatal protocol failures.
Diffstat (limited to 'lib/gnutls_errors.c')
-rw-r--r-- | lib/gnutls_errors.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gnutls_errors.c b/lib/gnutls_errors.c index bb58bb1fef..dfcc5c6667 100644 --- a/lib/gnutls_errors.c +++ b/lib/gnutls_errors.c @@ -127,6 +127,7 @@ static gnutls_error_entry error_algorithms[] = { ERROR_ENTRY("No supported cipher suites have been found.", GNUTLS_E_NO_CIPHER_SUITES, 1 ), ERROR_ENTRY("Could not get OpenPGP key.", GNUTLS_E_OPENPGP_GETKEY_FAILED, 1), + ERROR_ENTRY("Error in the SRP protocol negotiation.", GNUTLS_E_SRP_PROTOCOL_FAILURE, 1), ERROR_ENTRY("The SRP username supplied by the peer is illegal.", GNUTLS_E_ILLEGAL_SRP_USERNAME, 1), ERROR_ENTRY("The peer advertized SRP but did not supply any SRP username.", GNUTLS_E_EMPTY_SRP_USERNAME, 1), {0, 0, 0, 0} |