summaryrefslogtreecommitdiff
path: root/lib/gnutls_priority.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2005-03-05 17:28:32 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2005-03-05 17:28:32 +0000
commitbf8e6543f1466d29edffb8b22dc827cb2eda1572 (patch)
tree5651729feeb41dbf0f027aabe4b17d512e3917c3 /lib/gnutls_priority.c
parent766e1af1288059a393e101264be1290cfaeb50f2 (diff)
downloadgnutls-bf8e6543f1466d29edffb8b22dc827cb2eda1572.tar.gz
renamed all instances of _SHA to _SHA1 to make naming more consistent and clear.
Diffstat (limited to 'lib/gnutls_priority.c')
-rw-r--r--lib/gnutls_priority.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_priority.c b/lib/gnutls_priority.c
index 453aa11710..40d99b7bc8 100644
--- a/lib/gnutls_priority.c
+++ b/lib/gnutls_priority.c
@@ -250,7 +250,7 @@ int gnutls_set_default_priority(gnutls_session_t session)
};
static const int comp_priority[] = { GNUTLS_COMP_NULL, 0 };
static const int mac_priority[] =
- { GNUTLS_MAC_SHA, GNUTLS_MAC_MD5, GNUTLS_MAC_RMD160, 0 };
+ { GNUTLS_MAC_SHA1, GNUTLS_MAC_MD5, GNUTLS_MAC_RMD160, 0 };
gnutls_cipher_set_priority(session, cipher_priority);
gnutls_compression_set_priority(session, comp_priority);
@@ -291,7 +291,7 @@ int gnutls_set_default_export_priority(gnutls_session_t session)
};
static const int comp_priority[] = { GNUTLS_COMP_NULL, 0 };
static const int mac_priority[] =
- { GNUTLS_MAC_SHA, GNUTLS_MAC_MD5, GNUTLS_MAC_RMD160, 0 };
+ { GNUTLS_MAC_SHA1, GNUTLS_MAC_MD5, GNUTLS_MAC_RMD160, 0 };
gnutls_cipher_set_priority(session, cipher_priority);
gnutls_compression_set_priority(session, comp_priority);