diff options
author | Simon Josefsson <simon@josefsson.org> | 2007-11-15 09:26:11 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2007-11-15 09:26:11 +0100 |
commit | 09a56471b3a7cff200cc4ffd9c6600da9f594494 (patch) | |
tree | 5b6228b347149a06b79fa68da38cfa4c1d1e6984 | |
parent | de55e8a5f980dc53dd750f85e2b7c16e371c7974 (diff) | |
download | gnutls-09a56471b3a7cff200cc4ffd9c6600da9f594494.tar.gz |
Revert rename of GNUTLS_E_UNKNOWN_HASH_ALGORITHM.
Instead we add a new GNUTLS_E_UNKNOWN_ALGORITHM.
-rw-r--r-- | lib/gnutls_errors.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/gnutls_errors.c b/lib/gnutls_errors.c index e0405674aa..d7635f198d 100644 --- a/lib/gnutls_errors.c +++ b/lib/gnutls_errors.c @@ -218,8 +218,8 @@ static const gnutls_error_entry error_algorithms[] = { GNUTLS_E_X509_UNSUPPORTED_ATTRIBUTE, 1), ERROR_ENTRY (N_("The OID is not supported."), GNUTLS_E_X509_UNSUPPORTED_OID, 1), - ERROR_ENTRY (N_("The specified algorithm or protocol is unknown."), - GNUTLS_E_UNKNOWN_ALGORITHM, 1), + ERROR_ENTRY (N_("The hash algorithm is unknown."), + GNUTLS_E_UNKNOWN_HASH_ALGORITHM, 1), ERROR_ENTRY (N_("The PKCS structure's content type is unknown."), GNUTLS_E_UNKNOWN_PKCS_CONTENT_TYPE, 1), ERROR_ENTRY (N_("The PKCS structure's bag type is unknown."), @@ -240,6 +240,9 @@ static const gnutls_error_entry error_algorithms[] = { ERROR_ENTRY (N_("Verifying TLS/IA phase checksum failed"), GNUTLS_E_IA_VERIFY_FAILED, 1), + ERROR_ENTRY (N_("The specified algorithm or protocol is unknown."), + GNUTLS_E_UNKNOWN_ALGORITHM, 1), + {NULL, NULL, 0, 0} }; |